Class ClientInfoRequest


  • public class ClientInfoRequest
    extends BaseRequest
    Represents a Client Info request to send to the authorization server.
    Version:
    April 25, 2022
    Author:
    Javier Rojas Blum
    • Constructor Detail

      • ClientInfoRequest

        public ClientInfoRequest​(String accessToken)
        Constructs a Client Info Request.
        Parameters:
        accessToken - The access token obtained from the Jans Auth authorization request.
    • Method Detail

      • getAccessToken

        public String getAccessToken()
        Returns the access token obtained from Jans Auth authorization request.
        Returns:
        The access token obtained from Jans Auth authorization request.
      • setAccessToken

        public void setAccessToken​(String accessToken)
        Sets the access token obtained from Jans Auth authorization request.
        Parameters:
        accessToken - The access token obtained from Jans Auth authorization request.
      • getQueryString

        public String getQueryString()
        Returns a query string with the parameters of the Client Info request. Any null or empty parameter will be omitted.
        Specified by:
        getQueryString in class BaseRequest
        Returns:
        A query string of parameters.
      • getParameters

        public Map<String,​String> getParameters()
        Returns a collection of parameters of the client info request. Any null or empty parameter will be omitted.
        Overrides:
        getParameters in class BaseRequest
        Returns:
        A collection of parameters.