public class IdentityTokenImpl extends Object implements IdentityToken
Constructor and Description |
---|
IdentityTokenImpl(String token) |
Modifier and Type | Method and Description |
---|---|
Object |
getClaim(String key)
Gets the identity token's claim based on requested key type.
|
Map<String,Object> |
getClaims()
Gets the identity token's claims that was received from the OpenId
Connect provider
|
String |
getToken()
The identity token
|
com.nimbusds.jwt.JWT |
getTokenJWT() |
boolean |
isEncrypted() |
boolean |
isSigned() |
void |
setClaims(Map<String,Object> claims) |
String |
toString() |
public IdentityTokenImpl(String token)
public com.nimbusds.jwt.JWT getTokenJWT()
public String getToken()
IdentityToken
getToken
in interface IdentityToken
public Map<String,Object> getClaims()
IdentityToken
getClaims
in interface IdentityToken
public Object getClaim(String key)
IdentityToken
getClaim
in interface IdentityToken
public boolean isEncrypted()
public boolean isSigned()
Copyright © 2018. All rights reserved.