Interface ASCredentialIdentity
-
- All Known Implementing Classes:
ASPasskeyCredentialIdentity,ASPasswordCredentialIdentity
public interface ASCredentialIdentity[@protocol] ASCredentialIdentity An ASCredentialIdentity is used to describe an identity that can use a service upon successful authentication. Use this class to save entries into ASCredentialIdentityStore. API-Since: 17.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longrank()Get or set the rank of the credential identity object.@Nullable java.lang.StringrecordIdentifier()Get the record identifier.@NotNull ASCredentialServiceIdentifierserviceIdentifier()Get the service identifier.voidsetRank(long value)Get or set the rank of the credential identity object.@NotNull java.lang.Stringuser()Get the user.
-
-
-
Method Detail
-
rank
long rank()
Get or set the rank of the credential identity object. The system may utilize the rank to decide which credential identity precedes the other if two identities have the same service identifier. A credential identity with a larger rank value precedes one with a smaller value if both credential identities have the same service identifier. The default value of this property is 0.
-
recordIdentifier
@Nullable @Nullable java.lang.String recordIdentifier()
Get the record identifier. You can utilize the record identifier to uniquely identify the credential identity in your local database.
-
serviceIdentifier
@NotNull @NotNull ASCredentialServiceIdentifier serviceIdentifier()
Get the service identifier.
-
setRank
void setRank(long value)
Get or set the rank of the credential identity object. The system may utilize the rank to decide which credential identity precedes the other if two identities have the same service identifier. A credential identity with a larger rank value precedes one with a smaller value if both credential identities have the same service identifier. The default value of this property is 0.
-
user
@NotNull @NotNull java.lang.String user()
Get the user.
-
-