Class V1TokenReviewStatus
TokenReviewStatus is the result of the token authentication request.
Inheritance
V1TokenReviewStatus
Assembly: KubernetesClient.dll
Syntax
public record V1TokenReviewStatus : IEquatable<V1TokenReviewStatus>
Constructors
V1TokenReviewStatus()
Declaration
public V1TokenReviewStatus()
V1TokenReviewStatus(V1TokenReviewStatus)
Declaration
protected V1TokenReviewStatus(V1TokenReviewStatus original)
Parameters
Properties
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
Authenticated
authenticated indicates that the token was associated with a known user.
Declaration
[JsonPropertyName("authenticated")]
public bool? Authenticated { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Error
error indicates that the token couldn't be checked
Declaration
[JsonPropertyName("error")]
public string Error { get; set; }
Property Value
User
user is the UserInfo associated with the provided token.
Declaration
[JsonPropertyName("user")]
public V1UserInfo User { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1TokenReviewStatus?)
Declaration
public virtual bool Equals(V1TokenReviewStatus? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1TokenReviewStatus?, V1TokenReviewStatus?)
Declaration
public static bool operator ==(V1TokenReviewStatus? left, V1TokenReviewStatus? right)
Parameters
Returns
operator !=(V1TokenReviewStatus?, V1TokenReviewStatus?)
Declaration
public static bool operator !=(V1TokenReviewStatus? left, V1TokenReviewStatus? right)
Parameters
Returns
Implements