Package org.cdk8s.plus25.k8s
Interface TokenReviewSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TokenReviewSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.841Z") @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 classTokenReviewSpec.BuilderA builder forTokenReviewSpecstatic classTokenReviewSpec.Jsii$ProxyAn implementation forTokenReviewSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static TokenReviewSpec.Builderbuilder()default List<String>getAudiences()Audiences is a list of the identifiers that the resource server presented with the token identifies as.default StringgetToken()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.BuilderofTokenReviewSpec
-
-