Package org.cdk8s.plus24.k8s
Interface TokenReviewSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TokenReviewSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-07-08T00:25:14.711Z") @Stability(Stable) public interface TokenReviewSpec extends software.amazon.jsii.JsiiSerializable
TokenReviewSpec is a description of the token authentication request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TokenReviewSpec.Builder
A builder forTokenReviewSpec
static class
TokenReviewSpec.Jsii$Proxy
An implementation forTokenReviewSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static TokenReviewSpec.Builder
builder()
default List<String>
getAudiences()
Audiences is a list of the identifiers that the resource server presented with the token identifies as.default String
getToken()
Token is the opaque bearer token.
-
-
-
Method Detail
-
getAudiences
@Stability(Stable) @Nullable default List<String> getAudiences()
Audiences is a list of the identifiers that the resource server presented with the token identifies as.Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
-
getToken
@Stability(Stable) @Nullable default String getToken()
Token is the opaque bearer token.
-
builder
@Stability(Stable) static TokenReviewSpec.Builder builder()
- Returns:
- a
TokenReviewSpec.Builder
ofTokenReviewSpec
-
-