Class FrontendAuthRequest

java.lang.Object
com.vonage.client.auth.camara.AuthRequest
com.vonage.client.auth.camara.FrontendAuthRequest
All Implemented Interfaces:
QueryParamsRequest

public class FrontendAuthRequest extends AuthRequest
Front-End auth request parameters for the first step in an OAuth2 three-legged check workflow.
  • Constructor Details

    • FrontendAuthRequest

      public FrontendAuthRequest(String msisdn, URI redirectUrl, UUID applicationId, String state)
      Creates the parameters for a Front-End Authorization OIDC request.
      Parameters:
      msisdn - The phone number of the user you want to authenticate in E.164 format.
      redirectUrl - The URL to Application's Redirect URI.
      applicationId - The Vonage Application ID.
      state - A unique identifier for the request. This is meant for the client to be able to know which request it is when it comes back to their redirect_uri. Useful to prevent CSRF attacks.
  • Method Details