getCredentialByIssuerAndAccount

abstract suspend fun getCredentialByIssuerAndAccount(issuer: String, accountName: String): OathCredential?

Retrieve an OATH credential by issuer and account name. This method performs a case-sensitive lookup to detect duplicate credentials.

Return

The OATH credential if found, or null if not found.

Parameters

issuer

The issuer of the credential.

accountName

The account name of the credential.

Throws

if the credential cannot be retrieved.