public class TokenMetadataRepresentation extends AccessToken
AccessToken.Access, AccessToken.AuthorizationallowedOrigins, authorization, realmAccess, resourceAccess, trustedCertificatesaccessTokenHash, acr, ACR, address, ADDRESS, AT_HASH, AUTH_TIME, authTime, birthdate, BIRTHDATE, C_HASH, CLAIMS_LOCALES, claimsLocales, codeHash, email, EMAIL, EMAIL_VERIFIED, emailVerified, FAMILY_NAME, familyName, gender, GENDER, GIVEN_NAME, givenName, locale, LOCALE, MIDDLE_NAME, middleName, name, NAME, nickName, NICKNAME, nonce, NONCE, PHONE_NUMBER, PHONE_NUMBER_VERIFIED, phoneNumber, phoneNumberVerified, picture, PICTURE, PREFERRED_USERNAME, preferredUsername, profile, PROFILE, SESSION_STATE, sessionState, UPDATED_AT, updatedAt, website, WEBSITE, zoneinfo, ZONEINFOaudience, expiration, id, issuedAt, issuedFor, issuer, notBefore, otherClaims, subject, type| Constructor and Description |
|---|
TokenMetadataRepresentation() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
String |
getUserName() |
boolean |
isActive()
Tests that the token is not expired and is not-before.
|
void |
setActive(boolean active) |
void |
setClientId(String clientId) |
void |
setUserName(String userName) |
addAccess, expiration, getAllowedOrigins, getAuthorization, getRealmAccess, getResourceAccess, getResourceAccess, getTrustedCertificates, id, issuedAt, issuedFor, issuer, isVerifyCaller, isVerifyCaller, notBefore, setAllowedOrigins, setAuthorization, setRealmAccess, setResourceAccess, setTrustedCertificates, subject, typegetAccessTokenHash, getAcr, getAddress, getAuthTime, getBirthdate, getClaimsLocales, getCodeHash, getEmail, getEmailVerified, getFamilyName, getGender, getGivenName, getLocale, getMiddleName, getName, getNickName, getNonce, getPhoneNumber, getPhoneNumberVerified, getPicture, getPreferredUsername, getProfile, getSessionState, getUpdatedAt, getWebsite, getZoneinfo, setAccessTokenHash, setAcr, setAddress, setAuthTime, setBirthdate, setClaimsLocales, setCodeHash, setEmail, setEmailVerified, setFamilyName, setGender, setGivenName, setLocale, setMiddleName, setName, setNickName, setNonce, setPhoneNumber, setPhoneNumberVerified, setPicture, setPreferredUsername, setProfile, setSessionState, setUpdatedAt, setWebsite, setZoneinfoaudience, getAudience, getExpiration, getId, getIssuedAt, getIssuedFor, getIssuer, getNotBefore, getOtherClaims, getSubject, getType, hasAudience, isExpired, isNotBefore, issuedNow, setOtherClaims, setSubjectpublic boolean isActive()
JsonWebTokenisActive in class JsonWebTokenpublic void setActive(boolean active)
public String getUserName()
public void setUserName(String userName)
public String getClientId()
public void setClientId(String clientId)
Copyright © 2018 JBoss by Red Hat. All rights reserved.