Class UserInfoClient


  • public class UserInfoClient
    extends BaseClient<UserInfoRequest,​UserInfoResponse>
    Encapsulates functionality to make user info request calls to an authorization server via REST Services.
    Version:
    December 26, 2016
    Author:
    Javier Rojas Blum
    • Constructor Detail

      • UserInfoClient

        public UserInfoClient​(String url)
        Constructs an User Info client by providing a REST url where the service is located.
        Parameters:
        url - The REST Service location.
    • Method Detail

      • execUserInfo

        public UserInfoResponse execUserInfo​(String accessToken)
        Executes the call to the REST Service and processes the response.
        Parameters:
        accessToken - The access token obtained from the Jans Auth authorization request.
        Returns:
        The service response.
      • exec

        public UserInfoResponse exec()
        Executes the call to the REST Service and processes the response.
        Returns:
        The service response.
      • setSharedKey

        public void setSharedKey​(String sharedKey)
      • setPrivateKey

        public void setPrivateKey​(PrivateKey privateKey)
      • getJwksUri

        public String getJwksUri()
      • setJwksUri

        public void setJwksUri​(String jwksUri)