public interface TrustCache
Modifier and Type | Method and Description |
---|---|
IdentityPool |
identityPool(String poolId)
Returns IdentityPool identified by poolId.
|
Map<String,IdentityPool> |
identityPools()
Returns map of known
IdentityPool s keyed by pool id. |
org.jose4j.jwk.JsonWebKeySet |
jsonWebKeySet(String jwtKey)
Returns the
JsonWebKeySet associated with the given Issuer. |
Map<String,org.jose4j.jwk.JsonWebKeySet> |
jsonWebKeySets()
Returns a map of all known
JsonWebKeySet s keyed by Issuer. |
RefreshTokenInfo |
refreshTokenInfo(String refreshTokenKey)
Returns
RefreshTokenInfo keyed by combination of issuer and subClaim. |
Map<String,org.jose4j.jwk.JsonWebKeySet> jsonWebKeySets()
JsonWebKeySet
s keyed by Issuer.org.jose4j.jwk.JsonWebKeySet jsonWebKeySet(String jwtKey)
JsonWebKeySet
associated with the given Issuer.jwtKey
- {providerId} if present, else {Issuer name}IdentityPool identityPool(String poolId)
poolId
- IdentityPool identifierIdentityPool
if known, else nullMap<String,IdentityPool> identityPools()
IdentityPool
s keyed by pool id.IdentityPool
if known, else null.RefreshTokenInfo refreshTokenInfo(String refreshTokenKey)
RefreshTokenInfo
keyed by combination of issuer and subClaim. The refresh token is
part of TokenResponse
received form the IdP while Oauth / OIDC.refreshTokenKey
- is {jwtIssuer}-{subClaim}RefreshTokenInfo
of the given subClaim.