get

suspend fun get(id: String): ERROR CLASS: Symbol not found for Result<com/okta/authfoundation/credential/kmp/Credential?>

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

Result.success with the Credential, or null if not found.

See also