Class TokenFileAuth
Implements
Inherited Members
Namespace: k8s.Authentication
Assembly: KubernetesClient.dll
Syntax
public class TokenFileAuth : ITokenProvider
Constructors
View SourceTokenFileAuth(string)
Declaration
public TokenFileAuth(string tokenFile)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tokenFile |
Methods
View SourceGetAuthenticationHeaderAsync(CancellationToken)
Declaration
public Task<AuthenticationHeaderValue> GetAuthenticationHeaderAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<AuthenticationHeaderValue> | AuthenticationHeaderValue |