public static class OidcTenantConfig.Token extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowJwtIntrospection
Allow the remote introspection of JWT tokens when no matching JWK key is available.
|
Optional<List<String>> |
audience
Expected audience 'aud' claim value which may be a string or an array of strings.
|
Optional<Duration> |
autoRefreshInterval
Deprecated.
|
Duration |
forcedJwkRefreshInterval
Forced JWK set refresh interval in minutes.
|
Optional<String> |
header
Custom HTTP header that contains a bearer token.
|
Optional<String> |
issuer
Expected issuer 'iss' claim value.
|
OptionalInt |
lifespanGrace
Life span grace period in seconds.
|
Optional<String> |
principalClaim
Name of the claim which contains a principal name.
|
boolean |
refreshExpired
Refresh expired ID tokens.
|
Optional<Duration> |
refreshTokenTimeSkew
Refresh token time skew in seconds.
|
Optional<String> |
tokenType
Expected token type
|
| Constructor and Description |
|---|
Token() |
@ConfigItem public Optional<String> issuer
@ConfigItem public Optional<List<String>> audience
@ConfigItem public Optional<String> tokenType
@ConfigItem public OptionalInt lifespanGrace
@ConfigItem public Optional<String> principalClaim
@ConfigItem public boolean refreshExpired
OidcTenantConfig.ApplicationType.WEB_APP}.@ConfigItem @Deprecated public Optional<Duration> autoRefreshInterval
@ConfigItem public Optional<Duration> refreshTokenTimeSkew
@ConfigItem(defaultValue="10M") public Duration forcedJwkRefreshInterval
@ConfigItem public Optional<String> header
OidcTenantConfig.ApplicationType.SERVICE}.@ConfigItem(defaultValue="true") public boolean allowJwtIntrospection
public static OidcTenantConfig.Token fromIssuer(String issuer)
public static OidcTenantConfig.Token fromAudience(String... audience)
public void setIssuer(String issuer)
public void setHeader(String header)
public OptionalInt getLifespanGrace()
public void setLifespanGrace(int lifespanGrace)
public void setPrincipalClaim(String principalClaim)
public boolean isRefreshExpired()
public void setRefreshExpired(boolean refreshExpired)
public Duration getForcedJwkRefreshInterval()
public void setForcedJwkRefreshInterval(Duration forcedJwkRefreshInterval)
public void setTokenType(String tokenType)
public void setRefreshTokenTimeSkew(Duration refreshTokenTimeSkew)
public boolean isAllowJwtIntrospection()
public void setAllowJwtIntrospection(boolean allowJwtIntrospection)
Copyright © 2021 JBoss by Red Hat. All rights reserved.