BotAuthenticationExtensions.AddBotAuthentication Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddBotAuthentication(AuthenticationBuilder, ICredentialProvider)
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBotAuthentication (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Microsoft.Bot.Connector.ICredentialProvider credentialProvider);
static member AddBotAuthentication : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Microsoft.Bot.Connector.ICredentialProvider -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddBotAuthentication (builder As AuthenticationBuilder, credentialProvider As ICredentialProvider) As AuthenticationBuilder
Paramètres
- builder
- AuthenticationBuilder
- credentialProvider
- ICredentialProvider
Retours
S’applique à
AddBotAuthentication(AuthenticationBuilder, String, String)
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBotAuthentication (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string microsoftAppId, string microsoftAppPassword);
static member AddBotAuthentication : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddBotAuthentication (builder As AuthenticationBuilder, microsoftAppId As String, microsoftAppPassword As String) As AuthenticationBuilder
Paramètres
- builder
- AuthenticationBuilder
- microsoftAppId
- String
- microsoftAppPassword
- String
Retours
S’applique à
AddBotAuthentication(AuthenticationBuilder, String, String, Action<BotAuthenticationOptions>)
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddBotAuthentication (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.Bot.Connector.BotAuthenticationOptions> configureOptions);
static member AddBotAuthentication : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.Bot.Connector.BotAuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddBotAuthentication (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of BotAuthenticationOptions)) As AuthenticationBuilder
Paramètres
- builder
- AuthenticationBuilder
- authenticationScheme
- String
- displayName
- String
- configureOptions
- Action<BotAuthenticationOptions>