Interface ITokenProvider
Interface to a source of access tokens.
Namespace: k8s.Authentication
Assembly: KubernetesClient.dll
Syntax
public interface ITokenProvider
Methods
View SourceGetAuthenticationHeaderAsync(CancellationToken)
Declaration
Task<AuthenticationHeaderValue> GetAuthenticationHeaderAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<AuthenticationHeaderValue> | AuthenticationHeaderValue |