Package com.vonage.client.auth.camara
Class AuthRequest
java.lang.Object
com.vonage.client.auth.camara.AuthRequest
- All Implemented Interfaces:
QueryParamsRequest
- Direct Known Subclasses:
BackendAuthRequest,FrontendAuthRequest
Base request query parameters for the intermediate three-legged OAuth2 check network authentication.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthRequest(String msisdn, FraudPreventionDetectionScope scope) Creates the base auth request parameters. -
Method Summary
Modifier and TypeMethodDescriptionInternal method for serializing the fields of this class into query parameters.
-
Constructor Details
-
AuthRequest
Creates the base auth request parameters.- Parameters:
msisdn- The phone number of the user you want to authenticate in E.164 format.scope- The scope of the request as an enum.
-
-
Method Details
-
makeParams
Description copied from interface:QueryParamsRequestInternal method for serializing the fields of this class into query parameters. The Map should be mutable so that subclasses can add fields, otherwise the method or implementing class should be marked asfinal. Duplicate entries can be handled by mapping the key to a list of the entries.- Specified by:
makeParamsin interfaceQueryParamsRequest- Returns:
- The query parameters as unique key-value pairs.
-