Package org.cdk8s.plus24.k8s
Class TokenReviewSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.TokenReviewSpec.Jsii$Proxy
-
- All Implemented Interfaces:
TokenReviewSpec
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- TokenReviewSpec
@Stability(Stable) @Internal public static final class TokenReviewSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TokenReviewSpec
An implementation forTokenReviewSpec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.TokenReviewSpec
TokenReviewSpec.Builder, TokenReviewSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(TokenReviewSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theTokenReviewSpec.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
List<String>
getAudiences()
Audiences is a list of the identifiers that the resource server presented with the token identifies as.String
getToken()
Token is the opaque bearer token.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(TokenReviewSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theTokenReviewSpec.Builder
.
-
-
Method Detail
-
getAudiences
public final List<String> getAudiences()
Description copied from interface:TokenReviewSpec
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.
- Specified by:
getAudiences
in interfaceTokenReviewSpec
-
getToken
public final String getToken()
Description copied from interface:TokenReviewSpec
Token is the opaque bearer token.- Specified by:
getToken
in interfaceTokenReviewSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-