Class TrustMarkIssuerMetadata
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.federation.trust.marks.TrustMarkIssuerMetadata
-
@Deprecated public class TrustMarkIssuerMetadata extends Object
Deprecated.Trust mark issuer metadata.Related specifications:
- OpenID Connect Federation 1.0.
-
-
Constructor Summary
Constructors Constructor Description TrustMarkIssuerMetadata(URI federationStatusEndpoint)
Deprecated.Creates a new trust mark issuer metadata.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description URI
getFederationStatusEndpointURI()
Deprecated.Gets the federation status endpoint URI.static TrustMarkIssuerMetadata
parse(String json)
Deprecated.Parses a trust mark issuer metadata from the specified JSON object string.static TrustMarkIssuerMetadata
parse(net.minidev.json.JSONObject jsonObject)
Deprecated.Parses a trust mark issuer metadata from the specified JSON object.net.minidev.json.JSONObject
toJSONObject()
Deprecated.Returns a JSON object representation of this trust mark issuer metadata.
-
-
-
Constructor Detail
-
TrustMarkIssuerMetadata
public TrustMarkIssuerMetadata(URI federationStatusEndpoint)
Deprecated.Creates a new trust mark issuer metadata.- Parameters:
federationStatusEndpoint
- The federation status endpoint,null
if not specified.
-
-
Method Detail
-
getFederationStatusEndpointURI
public URI getFederationStatusEndpointURI()
Deprecated.Gets the federation status endpoint URI. Corresponds to thefederation_status_endpoint
metadata field.- Returns:
- The federation status endpoint URI,
null
if not specified.
-
toJSONObject
public net.minidev.json.JSONObject toJSONObject()
Deprecated.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
Deprecated.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
Deprecated.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.
-
-