Class ISN_ASAuthorizationAppleIDProvider
A mechanism for generating requests to authenticate users based on their Apple ID.
Inheritance
System.Object
ISN_ASAuthorizationAppleIDProvider
Namespace: SA.iOS.AuthenticationServices
Assembly: cs.temp.dll.dll
Syntax
public class ISN_ASAuthorizationAppleIDProvider : ISN_NativeObject
Constructors
ISN_ASAuthorizationAppleIDProvider()
Create Apple ID Provider instance.
Declaration
public ISN_ASAuthorizationAppleIDProvider()
Methods
CreateRequest()
Creates a new Apple ID auth request.
Declaration
public ISN_IASAuthorizationAppleIDRequest CreateRequest()
Returns
Type | Description |
---|---|
ISN_IASAuthorizationAppleIDRequest | An Apple ID authorization request that you can configure and execute. |
GetCredentialStateForUserID(String, Action<ISN_ASAuthorizationAppleIDProviderCredentialState, SA_iError>)
Returns the credential state for the given user in a completion handler.
Declaration
public void GetCredentialStateForUserID(string userID, Action<ISN_ASAuthorizationAppleIDProviderCredentialState, SA_iError> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | An opaque string associated with the Apple ID that your app receives in the credential’s User property after performing a successful authentication request. |
Action<ISN_ASAuthorizationAppleIDProviderCredentialState, SA_iError> | callback | A block the method calls to report the state and an optional error condition. |