Show / Hide Table of Contents

Class TokenReviewStatus

TokenReviewStatus is the result of the token authentication request.

Inheritance
System.Object
TokenReviewStatus
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Outputs.Authentication.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class TokenReviewStatus

Fields

View Source

Audiences

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.

Declaration
public readonly ImmutableArray<string> Audiences
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Authenticated

Authenticated indicates that the token was associated with a known user.

Declaration
public readonly bool Authenticated
Field Value
Type Description
System.Boolean
View Source

Error

Error indicates that the token couldn't be checked

Declaration
public readonly string Error
Field Value
Type Description
System.String
View Source

User

User is the UserInfo associated with the provided token.

Declaration
public readonly UserInfo User
Field Value
Type Description
UserInfo
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.