setCredential(_:type:)
Sets an application-provided credential to be used when evaluating authentication.
Declaration
func setCredential(_ credential: Data?, type: LACredentialType) -> BoolParameters
- credential:
The credential to be used when evaluating the authentication context.
Setting this parameter to
nilremoves any existing credential of the specified type. - type:
The type of the specified credential. For possible values, see Lacredentialtype.