Instance Method

initWithServiceIdentifier:user:recordIdentifier:

Initializes a password credential identity.

Declaration

- (instancetype)initWithServiceIdentifier:(ASCredentialServiceIdentifier *)serviceIdentifier user:(NSString *)user recordIdentifier:(NSString *)recordIdentifier;

Parameters

serviceIdentifier

The service identifier for the identity.

user

The user associated with the identity.

recordIdentifier

A string that your app can set to correlate the identity with an entry in your password database.

See Also

Creating a Credential Identity

+ identityWithServiceIdentifier:user:recordIdentifier:

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

ASCredentialServiceIdentifier

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