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
IdentityPools 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
JsonWebKeySets keyed by Issuer. |
RefreshTokenInfo |
refreshTokenInfo(String refreshTokenKey)
Returns
RefreshTokenInfo keyed by combination of issuer and subClaim. |
Map<String,org.jose4j.jwk.JsonWebKeySet> jsonWebKeySets()
JsonWebKeySets keyed by Issuer.org.jose4j.jwk.JsonWebKeySet jsonWebKeySet(String jwtKey)
JsonWebKeySet associated with the given Issuer.jwtKey - the JWKS endpoint followed by a colon then the issuer.IdentityPool identityPool(String poolId)
poolId - IdentityPool identifierIdentityPool if known, else nullMap<String,IdentityPool> identityPools()
IdentityPools 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.