Class

ASPasswordCredentialIdentity

A description that uniquely identifies a particular credential.

Declaration

@interface ASPasswordCredentialIdentity : NSObject

Topics

Creating a Credential Identity

+ identityWithServiceIdentifier:user:recordIdentifier:

Creates and returns a password credential identity object with a service identifier.

- initWithServiceIdentifier:user:recordIdentifier:

Initializes a password credential identity.

ASCredentialServiceIdentifier

An identifier representing a particular service for which the user needs a credential, like a web site.

Ordering Credential Identities

rank

An indicator that enables you to prioritze credential identities relative to each other.

Associating a User

user

The username associated with the credential.

Distinguising Identities

recordIdentifier

A string used to correlate this identity to a record in your app’s own database.

serviceIdentifier

An identifier that helps the system know with which apps or websites to associate this credential.

Relationships

Inherits From

See Also

Integrating Your Extension with the QuickType Bar

- provideCredentialWithoutUserInteractionForIdentity:

Attempts to provide the user-requested credential with no further user interaction.

- prepareInterfaceToProvideCredentialForIdentity:

Prepares the interface for a user interaction, like a database login, that enables it to access and return the credential for the given identity.