Show / Hide Table of Contents

Class ServiceClientCredentials

ServiceClientCredentials is the abstraction for credentials used by ServiceClients accessing REST services.

Inheritance
object
ServiceClientCredentials
BasicAuthenticationCredentials
TokenCredentials
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.Authentication
Assembly: KubernetesClient.dll
Syntax
public abstract class ServiceClientCredentials

Constructors

View Source

ServiceClientCredentials()

Declaration
protected ServiceClientCredentials()

Methods

View Source

ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

Apply the credentials to the HTTP request.

Declaration
public virtual Task ProcessHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
Type Name Description
HttpRequestMessage request

The HTTP request message.

CancellationToken cancellationToken

Cancellation token.

Returns
Type Description
Task

Task that will complete when processing has finished.

  • View Source
In this article
Back to top Generated by DocFX