Class ASWebAuthenticationSessionErrorCode


  • public final class ASWebAuthenticationSessionErrorCode
    extends java.lang.Object
    [@enum] ASWebAuthenticationSessionErrorCode Error code of the NSError object passed in by ASWebAuthenticationSessionCompletionHandler. [@constant] ASWebAuthenticationSessionErrorCodeCanceledLogin The user has canceled login by cancelling the alert asking for permission to log in to this app, or by dismissing the view controller for loading the authentication webpage. [@constant] ASWebAuthenticationSessionErrorCodePresentationContextNotProvided A valid presentationContextProvider was not found when -start was called. Ensure this property was not nil when -start was called. [@constant] ASWebAuthenticationSessionErrorCodePresentationContextInvalid The presentation context returned was not elligible to show the authentication UI. For iOS, validate that the UIWindow is in a foreground scene.