public interface TrustWriter
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
addIdentityPool(Optional<Principal> requesterPrincipal,
String poolId,
int version,
String issuer,
String jwksEndpoint,
String subjectClaim,
String serviceAccount,
String policy,
String orgId,
String reason)
Adds a new IdentityPool record.
|
default CompletionStage<Void> |
addIdentityPool(String poolId,
int version,
String issuer,
String jwksEndpoint,
String subjectClaim,
String serviceAccount,
String policy,
String orgId) |
CompletionStage<Void> |
addJwks(Optional<Principal> requesterPrincipal,
String jwtIssuer,
String jwksEndpoint,
org.jose4j.jwk.JsonWebKeySet jwks,
String reason)
Adds a new Jwks record.
|
default CompletionStage<Void> |
addJwks(String jwtIssuer,
String jwksEndpoint,
org.jose4j.jwk.JsonWebKeySet jwks) |
CompletionStage<Void> |
addRefreshTokenInfo(Optional<Principal> requesterPrincipal,
String issuer,
String encryptedRefreshToken,
long issuedAt,
String subClaim,
String sessionId)
Adds refresh token information
|
default CompletionStage<Void> |
addRefreshTokenInfo(String issuer,
String encryptedRefreshToken,
long issuedAt,
String subClaim,
String sessionId) |
CompletionStage<Void> |
removeIdentityPool(Optional<Principal> requesterPrincipal,
String poolId,
String reason)
Removes an IdentityPool record.
|
default CompletionStage<Void> |
removeIdentityPool(String poolId) |
CompletionStage<Void> |
removeJwks(Optional<Principal> requesterPrincipal,
String jwtIssuer,
String jwksEndpoint,
String reason)
Removes a Jwks
|
default CompletionStage<Void> |
removeJwks(String jwtIssuer,
String jwksEndpoint) |
CompletionStage<Void> |
removeRefreshTokenInfo(Optional<Principal> requesterPrincipal,
String issuer,
String subClaim) |
default CompletionStage<Void> |
removeRefreshTokenInfo(String issuer,
String subClaim) |
CompletionStage<Void> |
replaceIdentityPool(Optional<Principal> requesterPrincipal,
String poolId,
int version,
String issuer,
String jwksEndpoint,
String subjectClaim,
String serviceAccount,
String policy,
String orgId,
String reason)
Replaces an IdentityPool
|
default CompletionStage<Void> |
replaceIdentityPool(String poolId,
int version,
String issuer,
String jwksEndpoint,
String subjectClaim,
String serviceAccount,
String policy,
String orgId) |
CompletionStage<Void> |
replaceJwks(Optional<Principal> requesterPrincipal,
String jwtIssuer,
String jwksEndpoint,
org.jose4j.jwk.JsonWebKeySet jwks,
String reason)
Replaces a Jwks
|
default CompletionStage<Void> |
replaceJwks(String jwtIssuer,
String jwksEndpoint,
org.jose4j.jwk.JsonWebKeySet jwks) |
CompletionStage<Void> |
replaceRefreshTokenInfo(Optional<Principal> requesterPrincipal,
String issuer,
String encryptedRefreshToken,
long issuedAt,
String subClaim,
String sessionId) |
default CompletionStage<Void> |
replaceRefreshTokenInfo(String issuer,
String encryptedRefreshToken,
long issuedAt,
String subClaim,
String sessionId) |
CompletionStage<Void> addJwks(Optional<Principal> requesterPrincipal, String jwtIssuer, String jwksEndpoint, org.jose4j.jwk.JsonWebKeySet jwks, String reason)
requesterPrincipal - Optional principal of the requesterjwtIssuer - JsonWebToken jwtIssuer identifierjwksEndpoint - JWKS URI for getting JWKS from issuerjwks - JsonWebKeySet used for verifying token signaturesIllegalArgumentException - if scope is invalid.default CompletionStage<Void> addJwks(String jwtIssuer, String jwksEndpoint, org.jose4j.jwk.JsonWebKeySet jwks)
CompletionStage<Void> removeJwks(Optional<Principal> requesterPrincipal, String jwtIssuer, String jwksEndpoint, String reason)
requesterPrincipal - Optional principal of the requesterjwtIssuer - JsonWebToken jwtIssuer identifierjwksEndpoint - JWKS URI for getting JWKS from issuerIllegalArgumentException - if scope is invalid.default CompletionStage<Void> removeJwks(String jwtIssuer, String jwksEndpoint)
CompletionStage<Void> replaceJwks(Optional<Principal> requesterPrincipal, String jwtIssuer, String jwksEndpoint, org.jose4j.jwk.JsonWebKeySet jwks, String reason)
requesterPrincipal - Optional principal of the requesterjwtIssuer - JsonWebToken jwtIssuer identifierjwksEndpoint - Endpoint JWKS is retrieved fromjwks - Collection of Json Web Keys used for verifying token signaturesIllegalArgumentException - if scope is invalid.default CompletionStage<Void> replaceJwks(String jwtIssuer, String jwksEndpoint, org.jose4j.jwk.JsonWebKeySet jwks)
CompletionStage<Void> addIdentityPool(Optional<Principal> requesterPrincipal, String poolId, int version, String issuer, String jwksEndpoint, String subjectClaim, String serviceAccount, String policy, String orgId, String reason)
requesterPrincipal - Optional principal of the requesterpoolId - IdentityPool identifierversion - Indicates which version this record corresponds to.issuer - Issuer bound to this identityPooljwksEndpoint - bound to this identityPoolsubjectClaim - claim containing the authentication identityserviceAccount - Service account bound to this identityPoolpolicy - IdentityPool trust policy expressionorgId - IdentityPool organization ID expressionIllegalArgumentException - if scope is invalid.default CompletionStage<Void> addIdentityPool(String poolId, int version, String issuer, String jwksEndpoint, String subjectClaim, String serviceAccount, String policy, String orgId)
CompletionStage<Void> removeIdentityPool(Optional<Principal> requesterPrincipal, String poolId, String reason)
requesterPrincipal - Optional principal of the requesterpoolId - IdentityPool identifierIllegalArgumentException - if scope is invalid.default CompletionStage<Void> removeIdentityPool(String poolId)
CompletionStage<Void> replaceIdentityPool(Optional<Principal> requesterPrincipal, String poolId, int version, String issuer, String jwksEndpoint, String subjectClaim, String serviceAccount, String policy, String orgId, String reason)
requesterPrincipal - Optional principal of the requesterpoolId - IdentityPool identifierversion - Indicates which version this record corresponds to.issuer - Issuer bound to this identityPooljwksEndpoint - JWKS endpoint bound to this identityPoolsubjectClaim - claim containing the authentication identityserviceAccount - Service account bound to this identityPoolpolicy - IdentityPool trust policy expressionorgId - IdentityPool organization ID expressionIllegalArgumentException - if scope is invalid.default CompletionStage<Void> replaceIdentityPool(String poolId, int version, String issuer, String jwksEndpoint, String subjectClaim, String serviceAccount, String policy, String orgId)
CompletionStage<Void> addRefreshTokenInfo(Optional<Principal> requesterPrincipal, String issuer, String encryptedRefreshToken, long issuedAt, String subClaim, String sessionId)
requesterPrincipal - Optional principal of the requesterissuer - The issuer of the refresh token or issuer url of IdPencryptedRefreshToken - The encrypted refresh token stringissuedAt - The issued at time of the refresh tokensubClaim - The subject associated with the refresh tokensessionId - The id of session in which current refresh token is issuedIllegalArgumentException - if scope is invalid.default CompletionStage<Void> addRefreshTokenInfo(String issuer, String encryptedRefreshToken, long issuedAt, String subClaim, String sessionId)
CompletionStage<Void> removeRefreshTokenInfo(Optional<Principal> requesterPrincipal, String issuer, String subClaim)
default CompletionStage<Void> removeRefreshTokenInfo(String issuer, String subClaim)
CompletionStage<Void> replaceRefreshTokenInfo(Optional<Principal> requesterPrincipal, String issuer, String encryptedRefreshToken, long issuedAt, String subClaim, String sessionId)