Instance Method

authenticate(withPassword:)

Returns a Boolean value indicating whether the given password is correct for the identity.

Declaration

func authenticate(withPassword password: String) -> Bool

Parameters

password

The password to test for the identity.

Return Value

TRUE if the password is correct; otherwise, FALSE.

See Also

Password Authentication

var certificate: SecCertificate?

Returns the public authentication certificate associated with a user identity.

isEnabled

Returns a Boolean value indicating whether the identity is allowed to authenticate.