Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.9 KB

File metadata and controls

31 lines (24 loc) · 1.9 KB

V1TokenReviewStatus

TokenReviewStatus is the result of the token authentication request.

Properties

Name Type Description Notes
audiences List[str] audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. [optional]
authenticated bool authenticated indicates that the token was associated with a known user. [optional]
error str error indicates that the token couldn't be checked [optional]
user V1UserInfo [optional]

Example

from kubernetes.client.models.v1_token_review_status import V1TokenReviewStatus

# TODO update the JSON string below
json = "{}"
# create an instance of V1TokenReviewStatus from a JSON string
v1_token_review_status_instance = V1TokenReviewStatus.from_json(json)
# print the JSON string representation of the object
print(V1TokenReviewStatus.to_json())

# convert the object into a dict
v1_token_review_status_dict = v1_token_review_status_instance.to_dict()
# create an instance of V1TokenReviewStatus from a dict
v1_token_review_status_from_dict = V1TokenReviewStatus.from_dict(v1_token_review_status_dict)

[Back to Model list] [Back to API list] [Back to README]