public class JWTAuthConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_KEY |
Constructor and Description |
---|
JWTAuthConfiguration(java.util.function.Supplier<java.util.Map<java.lang.String,java.security.Key>> publicKeys,
java.lang.String issuer,
boolean allowNoExpiryClaim,
java.lang.String[] audiences,
java.util.function.Supplier<java.util.Map<java.lang.String,java.security.Key>> decryptKeys,
java.lang.String header,
java.lang.String cookie,
java.lang.String decryptAlgorithm,
java.lang.String signatureAlgorithm) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAudiences() |
java.lang.String |
getCookieName() |
java.lang.String |
getDecryptAlgorithm() |
java.util.Map<java.lang.String,java.security.Key> |
getDecryptKeys() |
int |
getExpGracePeriodSecs() |
java.lang.String |
getHeaderName() |
java.lang.String |
getHeaderScheme() |
java.lang.String |
getIssuer() |
java.util.Map<java.lang.String,java.security.Key> |
getPublicKeys() |
java.lang.String |
getSignatureAlgorithm() |
boolean |
isAllowNoExpiryClaim() |
public static final java.lang.String DEFAULT_KEY
public JWTAuthConfiguration(java.util.function.Supplier<java.util.Map<java.lang.String,java.security.Key>> publicKeys, java.lang.String issuer, boolean allowNoExpiryClaim, java.lang.String[] audiences, java.util.function.Supplier<java.util.Map<java.lang.String,java.security.Key>> decryptKeys, java.lang.String header, java.lang.String cookie, java.lang.String decryptAlgorithm, java.lang.String signatureAlgorithm)
public java.lang.String getCookieName()
public java.lang.String[] getAudiences()
public java.util.Map<java.lang.String,java.security.Key> getPublicKeys()
public java.util.Map<java.lang.String,java.security.Key> getDecryptKeys()
public java.lang.String getIssuer()
public int getExpGracePeriodSecs()
public java.lang.String getHeaderName()
public java.lang.String getHeaderScheme()
public boolean isAllowNoExpiryClaim()
public java.lang.String getSignatureAlgorithm()
public java.lang.String getDecryptAlgorithm()