get

Retrieves a credential by its ID.

Use this when you already know the credential ID (e.g., stored in app preferences). To retrieve the "current user" credential without tracking the ID, use getDefault instead.

Return

The Credential or null if not found.

Parameters

id

The credential identifier.

See also