Advertisement
Guest User

Untitled

a guest
Apr 19th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. - (void) getPasswordAuthenticationDetails: (AWSCognitoIdentityPasswordAuthenticationInput *) authenticationInput passwordAuthenticationCompletionSource: (AWSTaskCompletionSource<AWSCognitoIdentityPasswordAuthenticationDetails *> *) passwordAuthenticationCompletionSource
  2. {
  3. /* self.passwordAuthenticationCompletion = passwordAuthenticationCompletionSource;
  4.  
  5. dispatch_async(dispatch_get_main_queue(), ^{
  6.  
  7. if(!self.username)
  8. {
  9. _usernameStr = authenticationInput.lastKnownUsername;
  10. }
  11. }); */
  12.  
  13. self.passwordAuthenticationCompletion.result = [[AWSCognitoIdentityPasswordAuthenticationDetails alloc] initWithUsername:@"bqf" password:@"000000"];
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement