public class TokenMetadataRepresentation extends AccessToken
AccessToken.Access, AccessToken.Authorization, AccessToken.CertConf
allowedOrigins, authorization, certConf, realmAccess, resourceAccess, scope, trustedCertificates
accessTokenHash, 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, S_HASH, SESSION_STATE, sessionState, stateHash, UPDATED_AT, updatedAt, website, WEBSITE, zoneinfo, ZONEINFO
audience, 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, getCategory, getCertConf, getRealmAccess, getResourceAccess, getResourceAccess, getScope, getTrustedCertificates, id, issuedAt, issuedFor, issuer, isVerifyCaller, isVerifyCaller, notBefore, setAllowedOrigins, setAuthorization, setCertConf, setRealmAccess, setResourceAccess, setScope, setTrustedCertificates, subject, type
getAccessTokenHash, getAcr, getAddress, getAuthTime, getBirthdate, getClaimsLocales, getCodeHash, getEmail, getEmailVerified, getFamilyName, getGender, getGivenName, getLocale, getMiddleName, getName, getNickName, getNonce, getPhoneNumber, getPhoneNumberVerified, getPicture, getPreferredUsername, getProfile, getSessionState, getStateHash, 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, setStateHash, setUpdatedAt, setWebsite, setZoneinfo
addAudience, audience, getAudience, getExpiration, getId, getIssuedAt, getIssuedFor, getIssuer, getNotBefore, getOtherClaims, getSubject, getType, hasAudience, isActive, isExpired, isNotBefore, issuedNow, setOtherClaims, setSubject
public boolean isActive()
JsonWebToken
isActive
in class JsonWebToken
public void setActive(boolean active)
public String getUserName()
public void setUserName(String userName)
public String getClientId()
public void setClientId(String clientId)
Copyright © 2019 JBoss by Red Hat. All rights reserved.