- getCandidateSecrets
Filters the currently valid secrets from the secrets on record. A secret is
considered valid if the
- <init>
Creates new credentials for an authentication identifier. Note that an instance
created using this c
- addSecret
Adds a secret.
- checkValidity
Checks if this credentials object is in a consistent state.
- emptySecret
Creates an otherwise empty secret for a not-before and a not-after instant.
- fromHashedPassword
Creates a credentials object for a device based on a username and password hash.
The credentials cr
- getDeviceId
Gets the identifier of the device that these credentials belong to.
- getSecrets
Gets this credentials' secret(s). The elements of the returned list are of type
JsonObject.
- hashedPasswordSecretForPasswordHash
Creates a hashed-password secret for a password hash.
- setAuthId
Sets the authentication identifier that these these credentials are used for.
- setDeviceId
Sets the identifier of the device that these credentials belong to.
- setType
Sets the type of these credentials.