Class 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 for TokenReviewSpec
    • 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.
    • 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 interface TokenReviewSpec
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object