Credential.byId()
| Learn: Credentials |
|---|
Get a credential by its
document id.
Description
Gets a credential, represented as
an Credential document, by its
document id.
A credential associates a password with an
identity document. You can
use credentials and the credential.login() method to
create tokens as part of an
end-user authentication system.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
true |
ID of the
|
Return value
| Type | Description |
|---|---|
Resolved reference to the
|