Module org.glassfish.soteria
Class ProviderMetadataController
- java.lang.Object
-
- org.glassfish.soteria.mechanisms.openid.controller.ProviderMetadataController
-
@ApplicationScoped public class ProviderMetadataController extends Object
Manages the OpenId Connect Provider metadata- Author:
- Gaurav Gupta, Rudy De Busscher
-
-
Constructor Summary
Constructors Constructor Description ProviderMetadataController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonObjectgetDocument(String providerURI)Request to the provider https://example.com/.well-known/openid-configuration to obtain its Configuration information / document which includes all necessary endpoints (authorization_endpoint, token_endpoint, userinfo_endpoint, revocation_endpoint etc), scopes, Claims, and public key location information (jwks_uri)
-
-
-
Method Detail
-
getDocument
public jakarta.json.JsonObject getDocument(String providerURI)
Request to the provider https://example.com/.well-known/openid-configuration to obtain its Configuration information / document which includes all necessary endpoints (authorization_endpoint, token_endpoint, userinfo_endpoint, revocation_endpoint etc), scopes, Claims, and public key location information (jwks_uri)- Parameters:
providerURI- the OpenID Provider's uri- Returns:
- the OpenID Provider's configuration information / document
-
-