Constructor and Description |
---|
OpenIdConnectToken(org.forgerock.json.jose.jwt.JwtClaimsSet claims) |
OpenIdConnectToken(String signingKeyId,
String encryptionKeyId,
byte[] clientSecret,
KeyPair signingKeyPair,
Key encryptionKey,
String signingAlgorithm,
String encryptionAlgorithm,
String encryptionMethod,
boolean isIDTokenEncryptionEnabled,
String iss,
String sub,
String aud,
String azp,
long exp,
long iat,
long authTime,
String nonce,
String ops,
String atHash,
String cHash,
String acr,
List<String> amr,
String auditTrackingId,
String realm)
Constructs a new OpenIdConnectToken.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuditTrackingId()
Get the audit tracking ID for this token.
|
AuditConstants.TrackingIdKey |
getAuditTrackingIdKey()
Get the audit tracking ID key for this token.
|
String |
getTokenId()
Gets the token's identifier.
|
Map<String,Object> |
getTokenInfo()
Gets the token's information.
|
String |
getTokenName()
Gets the token's name.
|
protected void |
setClaims(org.forgerock.json.jose.jwt.JwtClaimsSet claims,
String... keys) |
org.forgerock.json.JsonValue |
toJsonValue()
Gets the
JsonValue representation of the token. |
Map<String,Object> |
toMap()
Converts the token into a
Map of its key data. |
add, add, add, add, addPermissive, array, as, asBigDecimal, asBoolean, asCollection, asCollection, asDouble, asEnum, asInteger, asList, asList, asLong, asMap, asMap, asMapOfList, asNumber, asSet, asSet, asString, asURI, clear, clone, contains, copy, defaultTo, diff, expect, field, fieldIfNotNull, get, get, get, getObject, getPointer, isBoolean, isCollection, isDefined, isEqualTo, isList, isMap, isNotNull, isNull, isNumber, isSet, isString, iterator, json, keys, object, object, patch, put, put, put, putPermissive, remove, remove, remove, required, set, setObject, size, toIndex, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public OpenIdConnectToken(String signingKeyId, String encryptionKeyId, byte[] clientSecret, KeyPair signingKeyPair, Key encryptionKey, String signingAlgorithm, String encryptionAlgorithm, String encryptionMethod, boolean isIDTokenEncryptionEnabled, String iss, String sub, String aud, String azp, long exp, long iat, long authTime, String nonce, String ops, String atHash, String cHash, String acr, List<String> amr, String auditTrackingId, String realm)
signingKeyId
- The signing key id.encryptionKeyId
- The encryption key id.clientSecret
- The client's secret.signingKeyPair
- The token's signing key pair.encryptionKey
- The token's encryption key.signingAlgorithm
- The signing algorithm.encryptionAlgorithm
- The encryption algorithm.encryptionMethod
- The encryption method.isIDTokenEncryptionEnabled
- true
If ID token encryption is enabled.iss
- The issuer.sub
- The subject.aud
- The audience.azp
- The authorized party.exp
- The expiry time.iat
- The issued at time.authTime
- The authenticated time.nonce
- The nonce.ops
- The ops.atHash
- The at_hash.cHash
- The c_hash.acr
- The acr.amr
- The amr.auditTrackingId
- The audit tracking ID.realm
- The realm.public OpenIdConnectToken(org.forgerock.json.jose.jwt.JwtClaimsSet claims)
protected void setClaims(org.forgerock.json.jose.jwt.JwtClaimsSet claims, String... keys)
public String getTokenId() throws ServerException
getTokenId
in interface Token
ServerException
- If any internal server error occurs.public String getTokenName()
getTokenName
in interface Token
public Map<String,Object> toMap() throws ServerException
Map
of its key data.toMap
in interface Token
Map
of the token's key data.ServerException
- If any internal server error occurs.public Map<String,Object> getTokenInfo()
getTokenInfo
in interface Token
Map
of the token's information.public org.forgerock.json.JsonValue toJsonValue()
JsonValue
representation of the token.toJsonValue
in interface Token
JsonValue
representation of the token.public String getAuditTrackingId()
Token
getAuditTrackingId
in interface Token
public AuditConstants.TrackingIdKey getAuditTrackingIdKey()
Token
getAuditTrackingIdKey
in interface Token
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.