public final class ImportCredentialsRequest


a request to import the provider's credentials

Throws
kotlin.IllegalArgumentException

If requestJson is empty, or if it is not a valid JSON

Summary

Public constructors

Public methods

static final @NonNull ImportCredentialsRequest

Creates a ImportCredentialsRequest from a bundle.

final @NonNull String

the request according to the Fido Credential Exchange Protocol format

static final @NonNull Bundle

Wraps the request into a bundle.

Public constructors

ImportCredentialsRequest

Added in 1.0.0-alpha03
public ImportCredentialsRequest(@NonNull String requestJson)

Public methods

createFrom

Added in 1.0.0-alpha03
public static final @NonNull ImportCredentialsRequest createFrom(@NonNull Bundle bundle)

Creates a ImportCredentialsRequest from a bundle.

Throws
kotlin.IllegalArgumentException

if the bundle does not contain the request parameters.

getRequestJson

Added in 1.0.0-alpha03
public final @NonNull String getRequestJson()

the request according to the Fido Credential Exchange Protocol format

toBundle

Added in 1.0.0-alpha03
public static final @NonNull Bundle toBundle(@NonNull ImportCredentialsRequest request)

Wraps the request into a bundle.