Package org.forgerock.oauth2.core
Interface OAuth2Uris
-
public interface OAuth2UrisModels all of the possible settings the OAuth2 provider can have and that can be configured.The actual implementation is responsible for providing the method in which these settings are configured. This interface only describes the API for other code to get the OAuth2 provider settings.
- Since:
- 13.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuthorizationEndpoint()Gets the URI for the OAuth2 authorize endpoint.StringgetCheckSessionEndpoint()Gets the URI for the OpenID Connect check session endpoint.StringgetClientRegistrationEndpoint()Gets the OpenID Connect client registration endpoint.StringgetDeviceAuthorizationEndpoint()Returns the default URL for this provider's Device Flow Authorization endpoint.StringgetEndSessionEndpoint()Gets the URI for the OpenID Connect end session endpoint.StringgetIntrospectionEndpoint()Returns the default URL for this provider's token introspection endpoint.StringgetIssuer()Gets the identifier of this issuer.StringgetJWKSUri()Gets the JSON Web Key Set URI.StringgetResourceSetRegistrationEndpoint()Returns the default URL for this provider's Resource Set Registration endpoint.StringgetResourceSetRegistrationPolicyEndpoint(String resourceSetId)Returns the default URL for this provider's Resource Set Registration policy endpoint.StringgetTokenEndpoint()Gets the URI for the OAuth2 token endpoint.StringgetUserInfoEndpoint()Gets the URI for the OpenID Connect user info endpoint.
-
-
-
Method Detail
-
getIssuer
String getIssuer() throws ServerException
Gets the identifier of this issuer.- Returns:
- The issuer.
- Throws:
ServerException
-
getAuthorizationEndpoint
String getAuthorizationEndpoint()
Gets the URI for the OAuth2 authorize endpoint.- Returns:
- The OAuth2 authorize endpoint.
-
getTokenEndpoint
String getTokenEndpoint()
Gets the URI for the OAuth2 token endpoint.- Returns:
- The OAuth2 token endpoint.
-
getUserInfoEndpoint
String getUserInfoEndpoint()
Gets the URI for the OpenID Connect user info endpoint.- Returns:
- The OpenID Connect user info endpoint.
-
getCheckSessionEndpoint
String getCheckSessionEndpoint()
Gets the URI for the OpenID Connect check session endpoint.- Returns:
- The OpenID Connect check session endpoint.
-
getEndSessionEndpoint
String getEndSessionEndpoint()
Gets the URI for the OpenID Connect end session endpoint.- Returns:
- The OpenID Connect end session endpoint.
-
getJWKSUri
String getJWKSUri() throws ServerException
Gets the JSON Web Key Set URI.- Returns:
- The JWKS URI.
- Throws:
ServerException- If any internal server error occurs.
-
getClientRegistrationEndpoint
String getClientRegistrationEndpoint()
Gets the OpenID Connect client registration endpoint.- Returns:
- The OpenID Connect client registration endpoint.
-
getIntrospectionEndpoint
String getIntrospectionEndpoint()
Returns the default URL for this provider's token introspection endpoint.- Returns:
- The URL.
-
getResourceSetRegistrationPolicyEndpoint
String getResourceSetRegistrationPolicyEndpoint(String resourceSetId)
Returns the default URL for this provider's Resource Set Registration policy endpoint.- Returns:
- The URL.
-
getResourceSetRegistrationEndpoint
String getResourceSetRegistrationEndpoint()
Returns the default URL for this provider's Resource Set Registration endpoint.- Returns:
- The URL.
-
getDeviceAuthorizationEndpoint
String getDeviceAuthorizationEndpoint()
Returns the default URL for this provider's Device Flow Authorization endpoint.- Returns:
- The URL.
-
-