Package com.vonage.client.verify2
Class SilentAuthWorkflow
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.verify2.Workflow
com.vonage.client.verify2.SilentAuthWorkflow
- All Implemented Interfaces:
Jsonable
Defines properties for mobile network-based authentication. See the
Silent Auth guide
for an overview of how this works.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for constructing a Silent Authentication workflow. -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new Silent Auth verification workflow.SilentAuthWorkflow(String to, boolean sandbox) Constructs a new Silent Auth verification workflow.SilentAuthWorkflow(String to, boolean sandbox, String redirectUrl) Constructs a new Silent Auth verification workflow. -
Method Summary
Modifier and TypeMethodDescriptionstatic SilentAuthWorkflow.BuilderEntrypoint for constructing an instance of this class.Final redirect afterVerificationResponse.getCheckUrl().Optional parameter if using the Vonage Sandbox to test Silent Auth integrations.protected StringvalidateTo(String to) Methods inherited from class com.vonage.client.verify2.Workflow
getChannel, getTo, validateFromMethods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
SilentAuthWorkflow
Constructs a new Silent Auth verification workflow.- Parameters:
to- The number to registered to the device on the network to authenticate.
-
SilentAuthWorkflow
Constructs a new Silent Auth verification workflow.- Parameters:
to- The number to registered to the device on the network to authenticate.sandbox- Whether the Vonage Sandbox should be used (for testing purposes).- Since:
- 7.10.0
-
SilentAuthWorkflow
Constructs a new Silent Auth verification workflow.- Parameters:
to- The number to registered to the device on the network to authenticate.sandbox- Whether the Vonage Sandbox should be used (for testing purposes).redirectUrl- Optional final redirect added at the end of the check_url request/response lifecycle. Will contain the request_id and code as a URL fragment after the URL.- Since:
- 8.0.0
-
-
Method Details
-
getSandbox
Optional parameter if using the Vonage Sandbox to test Silent Auth integrations.- Returns:
- Whether the Vonage Sandbox will be used, or
nullif not specified (the default). - Since:
- 7.10.0
-
getRedirectUrl
Final redirect afterVerificationResponse.getCheckUrl(). See the documentation for integrations.- Returns:
- The optional
redirect_url, ornullif not set (the default). - Since:
- 8.0.0
-
builder
Entrypoint for constructing an instance of this class.- Parameters:
to- (REQUIRED) The number to registered to the device on the network to authenticate.- Returns:
- A new Builder.
- Since:
- 8.2.0
-
validateTo
- Overrides:
validateToin classWorkflow
-