public class SapIdToken extends AbstractToken
TokenClaims.jwtToken, tokenBody, tokenHeader| Constructor and Description |
|---|
SapIdToken(DecodedJwt decodedJwt) |
SapIdToken(String idToken) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAudiences()
Returns the (empty) list of audiences the token is issued for.
|
Principal |
getPrincipal()
Returns a principal, which can be used to represent any entity, such as an
individual, a corporation, and a login id.
|
Service |
getService()
Returns the identity service, the token is issued by.
|
createPrincipalByName, equals, getClaimAsJsonObject, getClaimAsString, getClaimAsStringList, getExpiration, getHeaderParameterAsString, getNotBefore, getTokenValue, hasClaim, hashCode, hasHeaderParameter, isExpiredpublic SapIdToken(@Nonnull DecodedJwt decodedJwt)
public Principal getPrincipal()
Tokenpublic Service getService()
Tokenpublic Set<String> getAudiences()
TokengetAudiences in interface TokengetAudiences in class AbstractTokenCopyright © 2020. All rights reserved.