Class OpenIdConnectDiscoveryRequest


  • public class OpenIdConnectDiscoveryRequest
    extends BaseRequest
    Author:
    Javier Rojas Blum Date: 01.28.2013
    • Constructor Detail

      • OpenIdConnectDiscoveryRequest

        public OpenIdConnectDiscoveryRequest​(java.lang.String resource)
                                      throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
    • Method Detail

      • getResource

        public java.lang.String getResource()
        Returns the Identifier of the target End-User that is the subject of the discovery request.
        Returns:
        The Identifier of the target End-User that is the subject of the discovery request.
      • setResource

        public void setResource​(java.lang.String resource)
        Sets the Identifier of the target End-User that is the subject of the discovery request.
        Parameters:
        resource - The Identifier of the target End-User that is the subject of the discovery request.
      • getHost

        public java.lang.String getHost()
        Returns the Server where a WebFinger service is hosted.
        Returns:
        The Server where a WebFinger service is hosted.
      • setHost

        public void setHost​(java.lang.String host)
        Sets the Server where a WebFinger service is hosted.
        Parameters:
        host - The Server where a WebFinger service is hosted.
      • getPath

        public java.lang.String getPath()
        If the Issuer value contains a path component, any terminating / must be removed before appending /.well-known/openid-configuration. Then the Client may make a new request using the path.
        Returns:
        The path component.
      • setPath

        public void setPath​(java.lang.String path)
        Sets the path component.
        Parameters:
        path - The path component.
      • getQueryString

        public java.lang.String getQueryString()
        Returns a query string with the parameters of the OpenID Connect Discovery request. Any null or empty parameter will be omitted.
        Specified by:
        getQueryString in class BaseRequest
        Returns:
        A query string of parameters.