Class TrustMarkIssuerMetadata
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.federation.trust.marks.TrustMarkIssuerMetadata
-
public class TrustMarkIssuerMetadata extends Object
Trust mark issuer metadata.Related specifications:
- OpenID Connect Federation 1.0, section 4.8.
-
-
Constructor Summary
Constructors Constructor Description TrustMarkIssuerMetadata(URI federationStatusEndpoint)Creates a new trust mark issuer metadata.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetFederationStatusEndpointURI()Gets the federation status endpoint URI.static TrustMarkIssuerMetadataparse(String json)Parses a trust mark issuer metadata from the specified JSON object string.static TrustMarkIssuerMetadataparse(net.minidev.json.JSONObject jsonObject)Parses a trust mark issuer metadata from the specified JSON object.net.minidev.json.JSONObjecttoJSONObject()Returns a JSON object representation of this trust mark issuer metadata.
-
-
-
Constructor Detail
-
TrustMarkIssuerMetadata
public TrustMarkIssuerMetadata(URI federationStatusEndpoint)
Creates a new trust mark issuer metadata.- Parameters:
federationStatusEndpoint- The federation status endpoint,nullif not specified.
-
-
Method Detail
-
getFederationStatusEndpointURI
public URI getFederationStatusEndpointURI()
Gets the federation status endpoint URI. Corresponds to thefederation_status_endpointmetadata field.- Returns:
- The federation status endpoint URI,
nullif not specified.
-
toJSONObject
public net.minidev.json.JSONObject toJSONObject()
Returns a JSON object representation of this trust mark issuer metadata.Example:
{ "endpoint": "https://trust_marks_are_us.example.com/status" }- Returns:
- The JSON object.
-
parse
public static TrustMarkIssuerMetadata parse(net.minidev.json.JSONObject jsonObject) throws ParseException
Parses a trust mark issuer metadata from the specified JSON object.Example:
{ "endpoint": "https://trust_marks_are_us.example.com/status" }- Parameters:
jsonObject- The JSON object. Must not benull.- Returns:
- The trust mark issuer metadata.
- Throws:
ParseException- If parsing failed.
-
parse
public static TrustMarkIssuerMetadata parse(String json) throws ParseException
Parses a trust mark issuer metadata from the specified JSON object string.Example:
{ "endpoint": "https://trust_marks_are_us.example.com/status" }- Parameters:
json- The JSON object string. Must not benull.- Returns:
- The trust mark issuer metadata.
- Throws:
ParseException- If parsing failed.
-
-