getCredential

suspend fun getCredential(credentialId: String): Result<OathCredential?>

Get an OATH credential by ID.

Return

A Result containing the OathCredential (or null if not found) or an Exception in case of failure.

Parameters

credentialId

The ID of the credential to get.