{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples/issues/279","repository_url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples","labels_url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples/issues/279/comments","events_url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples/issues/279/events","html_url":"https://github.com/awslabs/aws-sdk-ios-samples/issues/279","id":334175214,"node_id":"MDU6SXNzdWUzMzQxNzUyMTQ=","number":279,"title":"How to remove stored keychain details from amazon iOS cognito SDK","user":{"login":"khetiSubrat","id":25863979,"node_id":"MDQ6VXNlcjI1ODYzOTc5","avatar_url":"https://avatars2.githubusercontent.com/u/25863979?v=4","gravatar_id":"","url":"https://api.github.com/users/khetiSubrat","html_url":"https://github.com/khetiSubrat","followers_url":"https://api.github.com/users/khetiSubrat/followers","following_url":"https://api.github.com/users/khetiSubrat/following{/other_user}","gists_url":"https://api.github.com/users/khetiSubrat/gists{/gist_id}","starred_url":"https://api.github.com/users/khetiSubrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khetiSubrat/subscriptions","organizations_url":"https://api.github.com/users/khetiSubrat/orgs","repos_url":"https://api.github.com/users/khetiSubrat/repos","events_url":"https://api.github.com/users/khetiSubrat/events{/privacy}","received_events_url":"https://api.github.com/users/khetiSubrat/received_events","type":"User","site_admin":false},"labels":[{"id":695917270,"node_id":"MDU6TGFiZWw2OTU5MTcyNzA=","url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples/labels/CognitoAuth","name":"CognitoAuth","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-20T17:15:29Z","updated_at":"2018-07-17T14:20:04Z","closed_at":null,"author_association":"NONE","body":"I am using https://github.com/awslabs/aws-sdk-ios-samples/tree/master/CognitoAuth-Sample to implement sign-in and sign-out using AWS iOS SDK. I have signout button inside my app, on clicking sign out I need to clear the keychain details instead of calling signout block and showing safariviewcontroller. Is there any way to do so? I could see the only way to that using signout block but I don't want same.\r\nThe only solution I can see i.e \r\n\r\n```\r\n[cognitoAuth signOut:self completion:^(NSError * _Nullable error) {\r\n        if(error){\r\n            NSLog(@\"Error: %@\", error.userInfo[@\"error\"]);\r\n        }else {\r\n            //User successfully signed out\r\n            NSLog(@\"User signed out\");        \r\n        }\r\n    }];\r\n```\r\n\r\nBut, don't want to call the signout block and showing a SafariViewController."},"comment":{"url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples/issues/comments/405598856","html_url":"https://github.com/awslabs/aws-sdk-ios-samples/issues/279#issuecomment-405598856","issue_url":"https://api.github.com/repos/awslabs/aws-sdk-ios-samples/issues/279","id":405598856,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTU5ODg1Ng==","user":{"login":"dwsolberg","id":599596,"node_id":"MDQ6VXNlcjU5OTU5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/599596?v=4","gravatar_id":"","url":"https://api.github.com/users/dwsolberg","html_url":"https://github.com/dwsolberg","followers_url":"https://api.github.com/users/dwsolberg/followers","following_url":"https://api.github.com/users/dwsolberg/following{/other_user}","gists_url":"https://api.github.com/users/dwsolberg/gists{/gist_id}","starred_url":"https://api.github.com/users/dwsolberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwsolberg/subscriptions","organizations_url":"https://api.github.com/users/dwsolberg/orgs","repos_url":"https://api.github.com/users/dwsolberg/repos","events_url":"https://api.github.com/users/dwsolberg/events{/privacy}","received_events_url":"https://api.github.com/users/dwsolberg/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T14:20:04Z","updated_at":"2018-07-17T14:20:04Z","author_association":"NONE","body":"For our purposes, just exposing `signOutLocallyAndClearLastKnownUser` would be perfect because we'd always want to clear the last user when signing out."}}
{"actor":{"display_login":"dwsolberg"}}