getCredentialByIssuerAndAccount

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

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

Return

The Push 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.