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.