public class JwtIssuerKey extends AuthKey
Modifier and Type | Class and Description |
---|---|
static class |
JwtIssuerKey.Version |
Constructor and Description |
---|
JwtIssuerKey(String issuer) |
JwtIssuerKey(String issuer,
String providerId,
String jwksEndpoint) |
Modifier and Type | Method and Description |
---|---|
String |
cacheKey(JwtIssuerKey.Version version) |
static String |
cacheKeyV1(String providerId,
String issuer)
Util method for use by outside modules.
|
static String |
cacheKeyV2(String issuer,
String jwksEndpoint)
Util method for use by outside modules.
|
AuthEntryType |
entryType() |
boolean |
equals(Object o) |
int |
hashCode()
Using entryType().name() to compute hashCode, so that hashCode() is constant across executions.
|
String |
issuer() |
String |
jwksEndpoint() |
String |
providerId() |
String |
toString() |
public JwtIssuerKey(String issuer)
public String issuer()
public String providerId()
public String jwksEndpoint()
public AuthEntryType entryType()
public String cacheKey(JwtIssuerKey.Version version)
public static String cacheKeyV1(String providerId, String issuer)
providerId
- issuer
- public static String cacheKeyV2(String issuer, String jwksEndpoint)
jwksEndpoint
- issuer
- public int hashCode()
AuthKey