Show / Hide Table of Contents

    Class StringTokenProvider

    Inheritance
    Object
    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

    Declaration
    public string TokenType { get; }
    Property Value
    String

    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>

    Implements
    ITokenProvider.GetAuthenticationHeaderAsync(CancellationToken)
    Back to top Azure SDK for Net