Contents

identity(for:)

Retrieves the identity for the specified platform single sign-on key type.

Declaration

func identity(for keyType: ASAuthorizationProviderExtensionKeyType) -> SecIdentity?

Parameters

  • keyType:

    The key type to retrieve.

Return Value

The identity if it exists, or nil if it doesn’t.

See Also

Performing authentication