RegisterRequestParams.Builder

public static final class RegisterRequestParams.Builder extends Object

Builds RegisterRequestParams.

Public Constructor Summary

RegisterRequestParams.Builder()
Creates an empty builder.

Public Method Summary

RegisterRequestParams
RegisterRequestParams.Builder
setAppId(Uri appId)
Sets register request appId.
RegisterRequestParams.Builder
setChannelIdValue(ChannelIdValue channelIdValue)
Sets channelId value for the register request.
RegisterRequestParams.Builder
setDisplayHint(String displayHint)
Sets the display hint that is shown to the user.
RegisterRequestParams.Builder
setRegisterRequests(List<RegisterRequest> registerRequests)
Sets register requests in this RegisterRequestParams.
RegisterRequestParams.Builder
setRegisteredKeys(List<RegisteredKey> registeredKeys)
Sets registered keys for the register request.
RegisterRequestParams.Builder
setRequestId(Integer requestId)
Sets the request id in order to link together events into a single session (the span of events between the time that the server initiates a single U2F request to the client and receives reply) on a single device.
RegisterRequestParams.Builder
setTimeoutSeconds(Double timeoutSeconds)
Sets timeout in seconds, to indicate for how long this request remains valid.

Inherited Method Summary

Public Constructors

public RegisterRequestParams.Builder ()

Creates an empty builder.

Public Methods

public RegisterRequestParams build ()

Builds a SignRequestParams.

public RegisterRequestParams.Builder setAppId (Uri appId)

Sets register request appId. This field is optional.

public RegisterRequestParams.Builder setChannelIdValue (ChannelIdValue channelIdValue)

Sets channelId value for the register request. This field is optional.

public RegisterRequestParams.Builder setDisplayHint (String displayHint)

Sets the display hint that is shown to the user. Note that if not null, the string should not be longer than MAX_DISPLAY_HINT_LENGTH characters.

public RegisterRequestParams.Builder setRegisterRequests (List<RegisterRequest> registerRequests)

Sets register requests in this RegisterRequestParams.

public RegisterRequestParams.Builder setRegisteredKeys (List<RegisteredKey> registeredKeys)

Sets registered keys for the register request. This field is mandatory.

public RegisterRequestParams.Builder setRequestId (Integer requestId)

Sets the request id in order to link together events into a single session (the span of events between the time that the server initiates a single U2F request to the client and receives reply) on a single device. This field is optional.

public RegisterRequestParams.Builder setTimeoutSeconds (Double timeoutSeconds)

Sets timeout in seconds, to indicate for how long this request remains valid. This field is optional.