Interface OIDCService

  • All Known Implementing Classes:
    DefaultOIDCService

    public interface OIDCService
    OIDC Service to provide API for OpenID implementation
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getConfiguration​(java.lang.String clientId, javax.servlet.http.HttpServletRequest request)
      Generates the server's openid configuration
      java.util.Map<java.lang.String,​java.util.List<java.util.Map<java.lang.String,​java.lang.String>>> getJWKS​(java.lang.String clientId, javax.servlet.http.HttpServletRequest request)
      Generates the server's openid jwks.json content
    • Method Detail

      • getConfiguration

        java.util.Map<java.lang.String,​java.lang.Object> getConfiguration​(java.lang.String clientId,
                                                                                javax.servlet.http.HttpServletRequest request)
        Generates the server's openid configuration
        Parameters:
        clientId - The optional clientId for which configuration is returned
        request - The http request
        Returns:
        Map of openid configuration attributes
      • getJWKS

        java.util.Map<java.lang.String,​java.util.List<java.util.Map<java.lang.String,​java.lang.String>>> getJWKS​(java.lang.String clientId,
                                                                                                                             javax.servlet.http.HttpServletRequest request)
        Generates the server's openid jwks.json content
        Parameters:
        clientId - The optional clientId for which JWKS are returned
        request - The http request
        Returns:
        Map of JWKS attributes