Package com.vonage.client.verify2
Class SilentAuthWorkflow.Builder
java.lang.Object
com.vonage.client.verify2.Workflow.Builder<SilentAuthWorkflow,SilentAuthWorkflow.Builder>
com.vonage.client.verify2.SilentAuthWorkflow.Builder
- Enclosing class:
SilentAuthWorkflow
public static final class SilentAuthWorkflow.Builder
extends Workflow.Builder<SilentAuthWorkflow,SilentAuthWorkflow.Builder>
Builder for constructing a Silent Authentication workflow.
- Since:
- 8.2.0
-
Field Summary
Fields inherited from class com.vonage.client.verify2.Workflow.Builder
channel, from, to -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the workflow.redirectUrl(String redirectUrl) (OPTIONAL) Final redirect afterVerificationResponse.getCheckUrl().sandbox(boolean sandbox) (OPTIONAL) Whether the Vonage Sandbox should be used (for testing purposes).Methods inherited from class com.vonage.client.verify2.Workflow.Builder
from, to
-
Method Details
-
sandbox
(OPTIONAL) Whether the Vonage Sandbox should be used (for testing purposes).- Parameters:
sandbox-trueto use the Vonage sandbox.- Returns:
- This builder.
-
redirectUrl
(OPTIONAL) Final redirect afterVerificationResponse.getCheckUrl(). See the documentation for integrations.- Parameters:
redirectUrl- The full redirect URL as a string.- Returns:
- This builder.
-
build
Description copied from class:Workflow.BuilderBuilds the workflow.- Specified by:
buildin classWorkflow.Builder<SilentAuthWorkflow,SilentAuthWorkflow.Builder> - Returns:
- A new instance of the workflow with this builder's fields.
-