setDefaultCredential

suspend fun setDefaultCredential(credentialId: String): Result<Boolean>

Set a credential as the default for authentication.

Return

true if successful

Parameters

credentialId

The ID of the credential to set as default

Throws

if credential doesn't exist