Instance Property


Returns the public authentication certificate associated with a user identity.


var certificate: SecCertificate? { get }

Return Value

The public authentication certificate, or nil if none exists.


The Collaboration framework supports certificate-based authentication in addition to passwords. If a certificate is stored for a user identity, it will be the default method of authentication.

When a .Mac account is associated with a user identity, the authentication certificate is automatically downloaded from the .Mac servers.

See Also

Password Authentication

func authenticate(withPassword: String) -> Bool

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


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