withAsync
suspend fun withAsync(id: String, promptInfo: BiometricPrompt.PromptInfo? = Security.promptInfo): Credential?
Return the Credential associated with the given id.
Parameters
id
The id of the Credential to fetch.
promptInfo
The BiometricPrompt.PromptInfo for displaying biometric prompt. A non-null value is required if the Credential with id is stored using a biometric Credential.Security.