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