ActivityExtensions.GetOAuthClient Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
GetOAuthClient(IActivity, MicrosoftAppCredentials, String, DelegatingHandler[]) | |
GetOAuthClient(IActivity, String, String, String, DelegatingHandler[]) |
GetOAuthClient(IActivity, MicrosoftAppCredentials, String, DelegatingHandler[])
public static Microsoft.Bot.Connector.OAuthClient GetOAuthClient (this Microsoft.Bot.Connector.IActivity activity, Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, string serviceUrl = default, params System.Net.Http.DelegatingHandler[] handlers);
static member GetOAuthClient : Microsoft.Bot.Connector.IActivity * Microsoft.Bot.Connector.MicrosoftAppCredentials * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
<Extension()>
Public Function GetOAuthClient (activity As IActivity, credentials As MicrosoftAppCredentials, Optional serviceUrl As String = Nothing, ParamArray handlers As DelegatingHandler()) As OAuthClient
Parâmetros
- activity
- IActivity
- credentials
- MicrosoftAppCredentials
- serviceUrl
- String
- handlers
- DelegatingHandler[]
Devoluções
Aplica-se a
GetOAuthClient(IActivity, String, String, String, DelegatingHandler[])
public static Microsoft.Bot.Connector.OAuthClient GetOAuthClient (this Microsoft.Bot.Connector.IActivity activity, string microsoftAppId = default, string microsoftAppPassword = default, string serviceUrl = default, params System.Net.Http.DelegatingHandler[] handlers);
static member GetOAuthClient : Microsoft.Bot.Connector.IActivity * string * string * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.OAuthClient
<Extension()>
Public Function GetOAuthClient (activity As IActivity, Optional microsoftAppId As String = Nothing, Optional microsoftAppPassword As String = Nothing, Optional serviceUrl As String = Nothing, ParamArray handlers As DelegatingHandler()) As OAuthClient
Parâmetros
- activity
- IActivity
- microsoftAppId
- String
- microsoftAppPassword
- String
- serviceUrl
- String
- handlers
- DelegatingHandler[]