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.
    • 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.