GetDigitalCredentialOption
@ExperimentalDigitalCredentialApi
class GetDigitalCredentialOption : CredentialOption
| kotlin.Any | ||
| ↳ | androidx.credentials.CredentialOption | |
| ↳ | androidx.credentials.GetDigitalCredentialOption |
A request to retrieve the user's digital credential, normally used for verification or sign-in purpose.
Note that this option cannot be combined with other types of options in a single GetCredentialRequest.
Summary
Public constructors |
|---|
GetDigitalCredentialOption(requestJson: String)Constructs a |
Public properties |
|
|---|---|
String |
the request in the JSON format; the latest format is defined at https://wicg.github.io/digital-credentials/#the-digitalcredentialrequestoptions-dictionary |
Inherited properties |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
GetDigitalCredentialOption
GetDigitalCredentialOption(requestJson: String)
Constructs a GetDigitalCredentialOption.
Note that this option cannot be combined with other types of options in a single GetCredentialRequest.
| Parameters | |
|---|---|
requestJson: String |
the request in the JSON format; the latest format is defined at https://wicg.github.io/digital-credentials/#the-digitalcredentialrequestoptions-dictionary |
| Throws | |
|---|---|
kotlin.IllegalArgumentException |
if the |
Public properties
requestJson
val requestJson: String
the request in the JSON format; the latest format is defined at https://wicg.github.io/digital-credentials/#the-digitalcredentialrequestoptions-dictionary