<PackageReference Include="System.ClientModel" Version="1.5.1" />

GetTokenOptions

public class GetTokenOptions
An interface implemented by auth flow interfaces supporting scopes.
public const string AuthorizationUrlPropertyName = "authorizationUrl"

The name of the property used to specify the authorization URL.

public const string RefreshUrlPropertyName = "refreshUrl"

The name of the property used to specify the client ID.

public const string ScopesPropertyName = "scopes"

The name of the property used to specify the scopes required to authenticate.

public const string TokenUrlPropertyName = "tokenUrl"

The name of the property used to specify the token URL.

public IReadOnlyDictionary<string, object> Properties { get; }

Gets the properties to be used for token requests.

public GetTokenOptions(IReadOnlyDictionary<string, object> properties)

Creates a new instance of GetTokenOptions with the specified scopes.