Instance Method

isCredentialSet(_:)

Returns a Boolean value indicating whether the specified credential type is set.

Declaration

func isCredentialSet(_ type: LACredentialType) -> Bool

Parameters

type

The type of the credential. For possible values, see LACredentialType

Return Value

true if the credential is set, otherwise false.

See Also

Managing Credentials

func setCredential(Data?, type: LACredentialType) -> Bool

Sets an application-provided credential to be used when evaluating authentication.

enum LACredentialType

The types of credentials to be used for authentication.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software