public class JWTAuthConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_KEY |
| Modifier and Type | Method and Description |
|---|---|
static JWTAuthConfiguration |
authConfiguration(Key publicKey,
String issuer,
boolean allowNoExpiryClaim) |
static JWTAuthConfiguration |
authConfiguration(Map<String,Key> publicKeys,
String issuer,
boolean allowNoExpiryClaim) |
int |
getExpGracePeriodSecs() |
String |
getHeaderName() |
String |
getHeaderScheme() |
String |
getIssuer() |
Key |
getPublicKey() |
List<org.jose4j.jwk.JsonWebKey> |
getPublicKeys() |
boolean |
isAllowNoExpiryClaim() |
boolean |
isSingleKey() |
void |
setAllowNoExpiryClaim(boolean allowNoExpiryClaim) |
void |
setExpGracePeriodSecs(int expGracePeriodSecs) |
void |
setHeaderName(String headerName) |
void |
setHeaderScheme(String headerScheme) |
public static final String DEFAULT_KEY
public static JWTAuthConfiguration authConfiguration(Key publicKey, String issuer, boolean allowNoExpiryClaim)
public static JWTAuthConfiguration authConfiguration(Map<String,Key> publicKeys, String issuer, boolean allowNoExpiryClaim)
public boolean isSingleKey()
public Key getPublicKey()
public List<org.jose4j.jwk.JsonWebKey> getPublicKeys()
public String getIssuer()
public int getExpGracePeriodSecs()
public void setExpGracePeriodSecs(int expGracePeriodSecs)
public String getHeaderName()
public void setHeaderName(String headerName)
public String getHeaderScheme()
public void setHeaderScheme(String headerScheme)
public boolean isAllowNoExpiryClaim()
public void setAllowNoExpiryClaim(boolean allowNoExpiryClaim)
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.