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
Fields Modifier and Type Field Description static String
OAUTH_SERVER_WELL_KNOWN_PATH
The well-known path for OAuth 2.0 Authorisation Server metadata.
-
Constructor Summary
Constructors Constructor Description AuthorizationServerConfigurationRequest(Issuer issuer)
Creates 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 Detail
-
OAUTH_SERVER_WELL_KNOWN_PATH
public static final String OAUTH_SERVER_WELL_KNOWN_PATH
The well-known path for OAuth 2.0 Authorisation Server metadata.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuthorizationServerConfigurationRequest
public AuthorizationServerConfigurationRequest(Issuer issuer)
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
.
-
-