ProviderCreateCredentialRequest


public final class ProviderCreateCredentialRequest


Final request received by the provider after the user has selected a given CreateEntry on the UI.

This request contains the actual request coming from the calling app, and the application information associated with the calling app.

Throws
kotlin.NullPointerException

If callingRequest, or callingAppInfo is null

Note : Credential providers are not expected to utilize the constructor in this class for any production flow. This constructor must only be used for testing purposes.

Summary

Public constructors

ProviderCreateCredentialRequest(
    @NonNull CreateCredentialRequest callingRequest,
    @NonNull CallingAppInfo callingAppInfo
)

constructs an instance of ProviderCreateCredentialRequest

Public methods

final @NonNull CallingAppInfo

information pertaining to the calling app making the request

final @NonNull CreateCredentialRequest

the complete CreateCredentialRequest coming from the calling app that is requesting for credential creation

Public constructors

ProviderCreateCredentialRequest

Added in 1.2.0
public ProviderCreateCredentialRequest(
    @NonNull CreateCredentialRequest callingRequest,
    @NonNull CallingAppInfo callingAppInfo
)

constructs an instance of ProviderCreateCredentialRequest

Parameters
@NonNull CreateCredentialRequest callingRequest

the complete CreateCredentialRequest coming from the calling app that is requesting for credential creation

@NonNull CallingAppInfo callingAppInfo

information pertaining to the calling app making the request

Public methods

getCallingAppInfo

Added in 1.2.0
public final @NonNull CallingAppInfo getCallingAppInfo()

information pertaining to the calling app making the request

getCallingRequest

Added in 1.2.0
public final @NonNull CreateCredentialRequest getCallingRequest()

the complete CreateCredentialRequest coming from the calling app that is requesting for credential creation