Class StringTokenProvider
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Rest.ClientRuntime.dll
Syntax
public sealed class StringTokenProvider : Microsoft.Rest.ITokenProvider
Constructors
StringTokenProvider(String, String)
Declaration
public StringTokenProvider (string accessToken, string tokenType);
Parameters
String
accessToken
|
String
tokenType
|
Properties
TokenType
Methods
GetAuthenticationHeaderAsync(CancellationToken)
Declaration
public System.Threading.Tasks.Task<System.Net.Http.Headers.AuthenticationHeaderValue> GetAuthenticationHeaderAsync (System.Threading.CancellationToken cancellationToken);
Parameters
CancellationToken
cancellationToken
|
Returns
Task<AuthenticationHeaderValue>
|