Class AuthRequest

java.lang.Object
com.vonage.client.auth.camara.AuthRequest
All Implemented Interfaces:
QueryParamsRequest
Direct Known Subclasses:
BackendAuthRequest, FrontendAuthRequest

public abstract class AuthRequest extends Object implements QueryParamsRequest
Base request query parameters for the intermediate three-legged OAuth2 check network authentication.
  • 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

      public final Map<String,String> makeParams()
      Description copied from interface: QueryParamsRequest
      Internal 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 as final. Duplicate entries can be handled by mapping the key to a list of the entries.
      Specified by:
      makeParams in interface QueryParamsRequest
      Returns:
      The query parameters as unique key-value pairs.