Top Fields Constructors Methods
org.keycloak.representations.oidc

public Class TokenMetadataRepresentation

extends AccessToken
Class Inheritance
Imports
com.fasterxml.jackson.annotation.JsonProperty, org.keycloak.representations.AccessToken

Author
Pedro Igor

Field Summary

Modifier and TypeField and Description
private boolean
private String
private String
Inherited from org.keycloak.representations.AccessToken:
allowedOriginsauthorizationconfirmationrealmAccessresourceAccessscopetrustedCertificates

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public boolean
isActive()

Overrides org.keycloak.representations.JsonWebToken.isActive.

Tests that the token is not expired and is not-before.
public void
setActive(boolean active)

public void
setClientId(String clientId)

public void
setUserName(String userName)

Inherited from org.keycloak.representations.AccessToken:
addAccessexpirationgetAllowedOriginsgetAuthorizationgetCategorygetConfirmationgetRealmAccessgetResourceAccessgetResourceAccessgetScopegetTrustedCertificatesidissuedAtissuedForissuerisVerifyCallerisVerifyCallernotBeforesetAllowedOriginssetAuthorizationsetConfirmationsetRealmAccesssetResourceAccesssetScopesetTrustedCertificatessubjecttype

Field Detail

activeback to summary
private boolean active
Annotations
@JsonProperty:active
clientIdback to summary
private String clientId
Annotations
@JsonProperty:client_id
userNameback to summary
private String userName
Annotations
@JsonProperty:username

Constructor Detail

TokenMetadataRepresentationback to summary
public TokenMetadataRepresentation()

Method Detail

getClientIdback to summary
public String getClientId()
getUserNameback to summary
public String getUserName()
isActiveback to summary
public boolean isActive()

Overrides org.keycloak.representations.JsonWebToken.isActive.

Doc from org.keycloak.representations.JsonWebToken.isActive.

Tests that the token is not expired and is not-before.

setActiveback to summary
public void setActive(boolean active)
setClientIdback to summary
public void setClientId(String clientId)
setUserNameback to summary
public void setUserName(String userName)