@Immutable public final class OIDCClientInformation extends ClientInformation
Related specifications:
Constructor and Description |
---|
OIDCClientInformation(ClientID id,
Date issueDate,
OIDCClientMetadata metadata,
Secret secret)
Creates a new OpenID Connect client information instance.
|
OIDCClientInformation(ClientID id,
Date issueDate,
OIDCClientMetadata metadata,
Secret secret,
URI registrationURI,
BearerAccessToken accessToken)
Creates a new OpenID Connect client information instance permitting
dynamic client registration management.
|
Modifier and Type | Method and Description |
---|---|
OIDCClientMetadata |
getOIDCMetadata()
Gets the OpenID Connect client metadata.
|
static Set<String> |
getRegisteredParameterNames()
Gets the registered client metadata parameter names.
|
static OIDCClientInformation |
parse(net.minidev.json.JSONObject jsonObject)
Parses an OpenID Connect client information instance from the
specified JSON object.
|
getID, getIDIssueDate, getMetadata, getRegistrationAccessToken, getRegistrationURI, getSecret, toJSONObject
public OIDCClientInformation(ClientID id, Date issueDate, OIDCClientMetadata metadata, Secret secret)
id
- The client identifier. Must not be
null
.issueDate
- The issue date of the client identifier,
null
if not specified.metadata
- The OpenID Connect client metadata. Must not
be null
.secret
- The optional client secret, null
if
not specified.public OIDCClientInformation(ClientID id, Date issueDate, OIDCClientMetadata metadata, Secret secret, URI registrationURI, BearerAccessToken accessToken)
id
- The client identifier. Must not be
null
.issueDate
- The issue date of the client identifier,
null
if not specified.metadata
- The OpenID Connect client metadata. Must not
be null
.secret
- The optional client secret, null
if
not specified.registrationURI
- The client registration URI, null
if
not specified.accessToken
- The client registration access token,
null
if not specified.public static Set<String> getRegisteredParameterNames()
public OIDCClientMetadata getOIDCMetadata()
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 © 2014 Connect2id Ltd.. All Rights Reserved.