Package org.cdk8s.plus25.k8s
Class TokenRequestSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.TokenRequestSpec.Jsii$Proxy
-
- All Implemented Interfaces:
TokenRequestSpec,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- TokenRequestSpec
@Stability(Stable) @Internal public static final class TokenRequestSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TokenRequestSpec
An implementation forTokenRequestSpec
-
-
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.plus25.k8s.TokenRequestSpec
TokenRequestSpec.Builder, TokenRequestSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(TokenRequestSpec.Builder builder)Constructor that initializes the object based on literal property values passed by theTokenRequestSpec.Builder.protectedJsii$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()booleanequals(Object o)List<String>getAudiences()Audiences are the intendend audiences of the token.BoundObjectReferencegetBoundObjectRef()BoundObjectRef is a reference to an object that the token will be bound to.NumbergetExpirationSeconds()ExpirationSeconds is the requested duration of validity of the request.inthashCode()
-
-
-
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(TokenRequestSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theTokenRequestSpec.Builder.
-
-
Method Detail
-
getAudiences
public final List<String> getAudiences()
Description copied from interface:TokenRequestSpecAudiences are the intendend audiences of the token.A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
- Specified by:
getAudiencesin interfaceTokenRequestSpec
-
getBoundObjectRef
public final BoundObjectReference getBoundObjectRef()
Description copied from interface:TokenRequestSpecBoundObjectRef is a reference to an object that the token will be bound to.The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.
- Specified by:
getBoundObjectRefin interfaceTokenRequestSpec
-
getExpirationSeconds
public final Number getExpirationSeconds()
Description copied from interface:TokenRequestSpecExpirationSeconds is the requested duration of validity of the request.The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
- Specified by:
getExpirationSecondsin interfaceTokenRequestSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-