Package com.nimbusds.oauth2.sdk.as
Class AuthorizationServerConfigurationRequest
java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
com.nimbusds.oauth2.sdk.AbstractConfigurationRequest
com.nimbusds.oauth2.sdk.as.AuthorizationServerConfigurationRequest
@Immutable
public class AuthorizationServerConfigurationRequest
extends AbstractConfigurationRequest
OAuth 2.0 Authorisation Server (AS) configuration request.
Example HTTP request:
GET /.well-known/oauth-authorization-server HTTP/1.1 Host: example.com
Related specifications:
- OAuth 2.0 Authorization Server Metadata (RFC 8414)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The well-known path for OAuth 2.0 Authorisation Server metadata. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new OAuth 2.0 Authorisation Server configuration request using thepostfix well-known path composition strategy
.AuthorizationServerConfigurationRequest
(Issuer issuer, WellKnownPathComposeStrategy strategy) Creates a new OAuth 2.0 Authorisation Server configuration request. -
Method Summary
Methods inherited from class com.nimbusds.oauth2.sdk.AbstractConfigurationRequest
toHTTPRequest
Methods inherited from class com.nimbusds.oauth2.sdk.AbstractRequest
getEndpointURI
-
Field Details
-
OAUTH_SERVER_WELL_KNOWN_PATH
The well-known path for OAuth 2.0 Authorisation Server metadata.- See Also:
-
-
Constructor Details
-
AuthorizationServerConfigurationRequest
Creates a new OAuth 2.0 Authorisation Server configuration request using thepostfix well-known path composition strategy
.- Parameters:
issuer
- The issuer. Must represent a valid URL.
-
AuthorizationServerConfigurationRequest
public AuthorizationServerConfigurationRequest(Issuer issuer, WellKnownPathComposeStrategy strategy) Creates a new OAuth 2.0 Authorisation Server configuration request.- Parameters:
issuer
- The issuer. Must represent a valid URL.strategy
- The well-known path composition strategy. Must not benull
.
-