Share via


GetTokenOptions Class

Definition

An interface implemented by auth flow interfaces supporting scopes.

public class GetTokenOptions
type GetTokenOptions = class
Public Class GetTokenOptions
Inheritance
GetTokenOptions

Constructors

Name Description
GetTokenOptions(IReadOnlyDictionary<String,Object>)

Creates a new instance of GetTokenOptions with the specified scopes.

GetTokenOptions(ReadOnlyMemory<String>, IReadOnlyDictionary<String,Object>)

Creates a new instance of GetTokenOptions with the specified scopes.

Fields

Name Description
AuthorizationUrlPropertyName

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

RefreshUrlPropertyName

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

ScopesPropertyName

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

TokenUrlPropertyName

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

Properties

Name Description
Properties

Gets the properties to be used for token requests.

Scopes

Gets the scopes required to authenticate.

Methods

Name Description
WithAdditionalScopes(ReadOnlyMemory<String>)

Creates a new instance of GetTokenOptions by combining the current scopes with additional scopes.

Applies to