Class UserInfoRequest


  • public class UserInfoRequest
    extends BaseRequest
    Represents a User Info request to send to the authorization server.
    Author:
    Javier Rojas Blum Date: 11.28.2011
    • Constructor Detail

      • UserInfoRequest

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

      • getAccessToken

        public java.lang.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​(java.lang.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 java.lang.String getQueryString()
        Returns a query string with the parameters of the User Info request. Any null or empty parameter will be omitted.
        Specified by:
        getQueryString in class BaseRequest
        Returns:
        A query string of parameters.
      • getParameters

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