public interface TrustWriter
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
addIdentityPool(Optional<Principal> requesterPrincipal,
String poolId,
int version,
String issuer,
String subjectClaim,
String serviceAccount,
String policy,
String reason)
Adds a new IdentityPool record.
|
default CompletionStage<Void> |
addIdentityPool(String poolId,
int version,
String issuer,
String subjectClaim,
String serviceAccount,
String policy) |
CompletionStage<Void> |
addJwtIssuer(Optional<Principal> requesterPrincipal,
String jwtIssuer,
org.jose4j.jwk.JsonWebKeySet jwks,
String reason)
Adds a new JwtIssuer record.
|
default CompletionStage<Void> |
addJwtIssuer(String jwtIssuer,
org.jose4j.jwk.JsonWebKeySet jwks) |
CompletionStage<Void> |
removeIdentityPool(Optional<Principal> requesterPrincipal,
String poolId,
String reason)
Removes an IdentityPool record.
|
default CompletionStage<Void> |
removeIdentityPool(String poolId) |
CompletionStage<Void> |
removeJwtIssuer(Optional<Principal> requesterPrincipal,
String jwtIssuer,
String reason)
Removes a JwtIssuer
|
default CompletionStage<Void> |
removeJwtIssuer(String jwtIssuer) |
CompletionStage<Void> |
replaceIdentityPool(Optional<Principal> requesterPrincipal,
String poolId,
int version,
String issuer,
String subjectClaim,
String serviceAccount,
String policy,
String reason)
Replaces an IdentityPool
|
default CompletionStage<Void> |
replaceIdentityPool(String poolId,
int version,
String issuer,
String subjectClaim,
String serviceAccount,
String policy) |
CompletionStage<Void> |
replaceJwtIssuer(Optional<Principal> requesterPrincipal,
String jwtIssuer,
org.jose4j.jwk.JsonWebKeySet jwks,
String reason)
Replaces a JwtIssuer
|
default CompletionStage<Void> |
replaceJwtIssuer(String jwtIssuer,
org.jose4j.jwk.JsonWebKeySet jwks) |
CompletionStage<Void> addJwtIssuer(Optional<Principal> requesterPrincipal, String jwtIssuer, org.jose4j.jwk.JsonWebKeySet jwks, String reason)
requesterPrincipal
- Optional principal of the requesterjwtIssuer
- JsonWebToken jwtIssuer identifierjwks
- JsonWebKeySet used for verifying token signaturesIllegalArgumentException
- if scope is invalid.default CompletionStage<Void> addJwtIssuer(String jwtIssuer, org.jose4j.jwk.JsonWebKeySet jwks)
CompletionStage<Void> removeJwtIssuer(Optional<Principal> requesterPrincipal, String jwtIssuer, String reason)
requesterPrincipal
- Optional principal of the requesterjwtIssuer
- JsonWebToken jwtIssuer identifierIllegalArgumentException
- if scope is invalid.default CompletionStage<Void> removeJwtIssuer(String jwtIssuer)
CompletionStage<Void> replaceJwtIssuer(Optional<Principal> requesterPrincipal, String jwtIssuer, org.jose4j.jwk.JsonWebKeySet jwks, String reason)
requesterPrincipal
- Optional principal of the requesterjwtIssuer
- JsonWebToken jwtIssuer identifierjwks
- Collection of Json Web Keys used for verifying token signaturesIllegalArgumentException
- if scope is invalid.default CompletionStage<Void> replaceJwtIssuer(String jwtIssuer, org.jose4j.jwk.JsonWebKeySet jwks)
CompletionStage<Void> addIdentityPool(Optional<Principal> requesterPrincipal, String poolId, int version, String issuer, String subjectClaim, String serviceAccount, String policy, String reason)
requesterPrincipal
- Optional principal of the requesterpoolId
- IdentityPool identifierversion
- Indicates which version this record corresponds to.issuer
- Issuer bound to this identityPoolsubjectClaim
- claim containing the authentication identityserviceAccount
- Service account bound to this identityPoolpolicy
- IdentityPool trust policy expressionIllegalArgumentException
- if scope is invalid.default CompletionStage<Void> addIdentityPool(String poolId, int version, String issuer, String subjectClaim, String serviceAccount, String policy)
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 subjectClaim, String serviceAccount, String policy, String reason)
requesterPrincipal
- Optional principal of the requesterpoolId
- IdentityPool identifierversion
- Indicates which version this record corresponds to.issuer
- Issuer bound to this identityPoolsubjectClaim
- claim containing the authentication identityserviceAccount
- Service account bound to this identityPoolpolicy
- IdentityPool trust policy expressionIllegalArgumentException
- if scope is invalid.