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