GetTokenOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
GetTokenOptions(IReadOnlyDictionary<String,Object>)
- Source:
- GetTokenOptions.cs
- Source:
- GetTokenOptions.cs
Creates a new instance of GetTokenOptions with the specified scopes.
public GetTokenOptions(System.Collections.Generic.IReadOnlyDictionary<string,object> properties);
new System.ClientModel.Primitives.GetTokenOptions : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> System.ClientModel.Primitives.GetTokenOptions
Public Sub New (properties As IReadOnlyDictionary(Of String, Object))
Parameters
- properties
- IReadOnlyDictionary<String,Object>
The additional properties to be used for token requests.
Applies to
GetTokenOptions(ReadOnlyMemory<String>, IReadOnlyDictionary<String,Object>)
- Source:
- GetTokenOptions%20.cs
Creates a new instance of GetTokenOptions with the specified scopes.
public GetTokenOptions(ReadOnlyMemory<string> scopes, System.Collections.Generic.IReadOnlyDictionary<string,object> properties);
new System.ClientModel.Primitives.GetTokenOptions : ReadOnlyMemory<string> * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> System.ClientModel.Primitives.GetTokenOptions
Public Sub New (scopes As ReadOnlyMemory(Of String), properties As IReadOnlyDictionary(Of String, Object))
Parameters
- scopes
- ReadOnlyMemory<String>
The scopes to be used in a call to GetToken(GetTokenOptions, CancellationToken) or GetTokenAsync(GetTokenOptions, CancellationToken)
- properties
- IReadOnlyDictionary<String,Object>
The properties to be used for token requests.