@Immutable public final class OIDCClientInformation extends ClientInformation
Related specifications:
Constructor and Description |
---|
OIDCClientInformation(ClientID id,
URI 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 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.
|
getClientMetadata, getID, getIssueDate, getRegistrationAccessToken, getRegistrationURI, getSecret, toJSONObject
public OIDCClientInformation(ClientID id, URI 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 static Set<String> getRegisteredParameterNames()
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 © 2014 Connect2id Ltd.. All Rights Reserved.