kubernetes_asyncio.client.models.v1_token_review_spec module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_token_review_spec.V1TokenReviewSpec(audiences=None, token=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'audiences': 'audiences', 'token': 'token'}
property audiences

Gets the audiences of this V1TokenReviewSpec. # noqa: E501

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. # noqa: E501

Returns:

The audiences of this V1TokenReviewSpec. # noqa: E501

Return type:

list[str]

openapi_types = {'audiences': 'list[str]', 'token': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property token

Gets the token of this V1TokenReviewSpec. # noqa: E501

Token is the opaque bearer token. # noqa: E501

Returns:

The token of this V1TokenReviewSpec. # noqa: E501

Return type:

str