CreateCustomCredentialResponse
open class CreateCustomCredentialResponse : CreateCredentialResponse
| kotlin.Any | ||
| ↳ | androidx.credentials.CreateCredentialResponse | |
| ↳ | androidx.credentials.CreateCustomCredentialResponse |
Base custom create response class for the credential creation operation made with the CreateCustomCredentialRequest.
If you get a CreateCustomCredentialResponse instead of a type-safe response class such as CreatePasswordResponse, CreatePublicKeyCredentialResponse, etc., then you should check if you have any other library at interest that supports this custom type of credential response, and if so use its parsing utilities to resolve to a type-safe class within that library.
Note: The Bundle keys for data should not be in the form of androidx.credentials.*` as they are reserved for internal use by this androidx library.
| Throws | |
|---|---|
kotlin.IllegalArgumentException |
If |
kotlin.NullPointerException |
Summary
Public constructors |
|---|
CreateCustomCredentialResponse(type: String, data: Bundle) |
Inherited properties |
||||
|---|---|---|---|---|
|
Public constructors
CreateCustomCredentialResponse
CreateCustomCredentialResponse(type: String, data: Bundle)
| Parameters | |
|---|---|
type: String |
the credential type determined by the credential-type-specific subclass for custom use cases |
data: Bundle |
the response data in the |