Idioma

AppServicesAuthenticationTokenAcquisition.GetEffectiveAuthenticationScheme Método

Definição

Obtenha o esquema de autenticação eficaz com base no contexto.

public string GetEffectiveAuthenticationScheme(string? authenticationScheme);
abstract member GetEffectiveAuthenticationScheme : string -> string
override this.GetEffectiveAuthenticationScheme : string -> string
Public Function GetEffectiveAuthenticationScheme (authenticationScheme As String) As String

Parâmetros

authenticationScheme
String

Esquema de autenticação proposto.

Devoluções

Effective authenticationScheme, que é o esquema de autenticação se não for nulo, ou então OpenIdConnectDefault.AuthenticationScheme se chamado a partir de uma aplicação web, e JwtBearerDefault.AuthenticationScheme se chamado a partir de uma API web.

Implementações

Aplica-se a