public class ServerMetaDataHelper extends AbstractHttpHelper
Modifier and Type | Class and Description |
---|---|
static class |
ServerMetaDataHelper.ServerMetaDataException |
Constructor and Description |
---|
ServerMetaDataHelper() |
Modifier and Type | Method and Description |
---|---|
static AuthorizationServerMetaData |
retrieveFromIssuer(String issuer)
Retrieve OAuth2 Authorization Server Metadata using the issuer as a starting point.
|
static AuthorizationServerMetaData |
retrieveFromWellKnownConfiguration(HttpURLConnection httpURLConnection)
Retrieve OAuth2 Authorization Server Metadata.
|
static AuthorizationServerMetaData |
retrieveFromWellKnownConfiguration(String endpoint)
Retrieve OAuth2 Authorization Server Metadata.
|
buildURLConnection, get
public static AuthorizationServerMetaData retrieveFromIssuer(String issuer)
issuer
- the issuer used to resolve the Authorization Server Metadata document.public static AuthorizationServerMetaData retrieveFromWellKnownConfiguration(HttpURLConnection httpURLConnection)
httpURLConnection
- the HTTP URL Connection that will be used to connect to the Authorization Server Metadata well known discovery endpoint.public static AuthorizationServerMetaData retrieveFromWellKnownConfiguration(String endpoint)
endpoint
- the Authorization Metadata well known discovery endpoint.Copyright © 2021. All rights reserved.