Show / Hide Table of Contents

Class V1TokenReviewStatus

TokenReviewStatus is the result of the token authentication request.

Inheritance
object
V1TokenReviewStatus
Implements
IEquatable<V1TokenReviewStatus>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1TokenReviewStatus : IEquatable<V1TokenReviewStatus>

Constructors

View Source

V1TokenReviewStatus()

Declaration
public V1TokenReviewStatus()
View Source

V1TokenReviewStatus(V1TokenReviewStatus)

Declaration
protected V1TokenReviewStatus(V1TokenReviewStatus original)
Parameters
Type Name Description
V1TokenReviewStatus original

Properties

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
[JsonPropertyName("audiences")]
public IList<string> Audiences { get; set; }
Property Value
Type Description
IList<string>
View Source

Authenticated

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

Declaration
[JsonPropertyName("authenticated")]
public bool? Authenticated { get; set; }
Property Value
Type Description
bool?
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

Error

Error indicates that the token couldn't be checked

Declaration
[JsonPropertyName("error")]
public string Error { get; set; }
Property Value
Type Description
string
View Source

User

User is the UserInfo associated with the provided token.

Declaration
[JsonPropertyName("user")]
public V1UserInfo User { get; set; }
Property Value
Type Description
V1UserInfo

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1TokenReviewStatus?)

Declaration
public virtual bool Equals(V1TokenReviewStatus? other)
Parameters
Type Name Description
V1TokenReviewStatus other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1TokenReviewStatus?, V1TokenReviewStatus?)

Declaration
public static bool operator ==(V1TokenReviewStatus? left, V1TokenReviewStatus? right)
Parameters
Type Name Description
V1TokenReviewStatus left
V1TokenReviewStatus right
Returns
Type Description
bool
View Source

operator !=(V1TokenReviewStatus?, V1TokenReviewStatus?)

Declaration
public static bool operator !=(V1TokenReviewStatus? left, V1TokenReviewStatus? right)
Parameters
Type Name Description
V1TokenReviewStatus left
V1TokenReviewStatus right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX