Class V1TokenReview
TokenReview attempts to authenticate a token to a known user. Note: TokenReview
requests may be cached by the webhook token authenticator plugin in the
kube-apiserver.
Inheritance
V1TokenReview
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "authentication.k8s.io", Kind = "TokenReview", ApiVersion = "v1", PluralName = "")]
public record V1TokenReview : IKubernetesObject<V1ObjectMeta>, IKubernetesObject, IMetadata<V1ObjectMeta>, ISpec<V1TokenReviewSpec>, IEquatable<V1TokenReview>
Constructors
View Source
V1TokenReview()
Declaration
View Source
V1TokenReview(V1TokenReview)
Declaration
protected V1TokenReview(V1TokenReview original)
Parameters
Fields
View Source
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
View Source
KubeGroup
Declaration
public const string KubeGroup = "authentication.k8s.io"
Field Value
View Source
KubeKind
Declaration
public const string KubeKind = "TokenReview"
Field Value
View Source
KubePluralName
Declaration
public const string KubePluralName = ""
Field Value
Properties
View Source
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
View Source
Spec
Spec holds information about the request being evaluated
Declaration
[JsonPropertyName("spec")]
public V1TokenReviewSpec Spec { get; set; }
Property Value
View Source
Status
Status is filled in by the server and indicates whether the request can be
authenticated.
Declaration
[JsonPropertyName("status")]
public V1TokenReviewStatus Status { 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(V1TokenReview?)
Declaration
public virtual bool Equals(V1TokenReview? 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 ==(V1TokenReview?, V1TokenReview?)
Declaration
public static bool operator ==(V1TokenReview? left, V1TokenReview? right)
Parameters
Returns
View Source
operator !=(V1TokenReview?, V1TokenReview?)
Declaration
public static bool operator !=(V1TokenReview? left, V1TokenReview? right)
Parameters
Returns
Implements
Extension Methods