Freigeben über


MsalAuth Constructors

Definition

Overloads

MsalAuth(IServiceProvider, ConnectionSettings)

Creates a MSAL Authentication Instance.

MsalAuth(IServiceProvider, IConfigurationSection)

Creates a MSAL Authentication Instance.

MsalAuth(IServiceProvider, ConnectionSettings)

Creates a MSAL Authentication Instance.

public MsalAuth(IServiceProvider systemServiceProvider, Microsoft.Agents.Authentication.Msal.Model.ConnectionSettings settings);
new Microsoft.Agents.Authentication.Msal.MsalAuth : IServiceProvider * Microsoft.Agents.Authentication.Msal.Model.ConnectionSettings -> Microsoft.Agents.Authentication.Msal.MsalAuth
Public Sub New (systemServiceProvider As IServiceProvider, settings As ConnectionSettings)

Parameters

systemServiceProvider
IServiceProvider

Should contain the following objects: a httpClient factory called "MSALClientFactory" and a instance of the MsalAuthConfigurationOptions object

settings
ConnectionSettings

Settings for this instance.

Applies to

MsalAuth(IServiceProvider, IConfigurationSection)

Creates a MSAL Authentication Instance.

public MsalAuth(IServiceProvider systemServiceProvider, Microsoft.Extensions.Configuration.IConfigurationSection msalConfigurationSection);
new Microsoft.Agents.Authentication.Msal.MsalAuth : IServiceProvider * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Agents.Authentication.Msal.MsalAuth
Public Sub New (systemServiceProvider As IServiceProvider, msalConfigurationSection As IConfigurationSection)

Parameters

systemServiceProvider
IServiceProvider

Should contain the following objects: a httpClient factory called "MSALClientFactory" and a instance of the MsalAuthConfigurationOptions object

msalConfigurationSection
IConfigurationSection

Applies to