Type Alias

ASAuthorizationScope

The kinds of contact information that can be requested from the user.

Declaration

typedef NSString *ASAuthorizationScope;

Discussion

Use one or more of these values in the requestedScopes array that you configure in an instance of either ASAuthorizationAppleIDRequest or ASAuthorizationSingleSignOnRequest to request certain contact information from the user.

Inspect the authorizedScopes array of an ASAuthorizationAppleIDCredential instance, or the (similarly named) authorizedScopes array of an ASAuthorizationSingleSignOnCredential instance, to see what scopes the user actually authorized. This might differ from the scopes you requested.

Topics

Scopes

ASAuthorizationScopeEmail

A scope that includes the user’s email address.

ASAuthorizationScopeFullName

A scope that includes the user’s full name.

See Also

Setting the Scope

requestedScopes

The contact information to be requested from the user during authentication.