@Immutable public final class OIDCClientInformation extends ClientInformation
This class is immutable.
Related specifications:
| Constructor and Description |
|---|
OIDCClientInformation(ClientID id,
URL registrationURI,
BearerAccessToken accessToken,
ClientMetadata metadata,
Secret secret,
Date issueDate)
Creates a new OpenID Connect client information instance.
|
| Modifier and Type | Method and Description |
|---|---|
OIDCClientMetadata |
getOIDCClientMetadata()
Gets the OpenID Connect client metadata.
|
static OIDCClientInformation |
parse(net.minidev.json.JSONObject jsonObject)
Parses an OpenID Connect client information instance from the
specified JSON object.
|
getClientMetadata, getID, getIssueDate, getRegistrationAccessToken, getRegistrationURI, getSecret, toJSONObjectpublic OIDCClientInformation(ClientID id, URL registrationURI, BearerAccessToken accessToken, ClientMetadata metadata, Secret secret, Date issueDate)
id - The client identifier. Must not be
null.registrationURI - The client registration URI. Must not be
null.accessToken - The client registration access token. Must
not be null.metadata - The client metadata. Must not be
null.secret - The optional client secret, null if
not specified.issueDate - The issue date of the client identifier,
null if not specified.public OIDCClientMetadata getOIDCClientMetadata()
public static OIDCClientInformation parse(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject - The JSON object to parse. Must not be
null.ParseException - If the JSON object couldn't be parsed to an
OpenID Connect client information instance.Copyright © 2013 NimbusDS. All Rights Reserved.