AppServicesAuthenticationTokenAcquisition.GetEffectiveAuthenticationScheme Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottenere lo schema di autenticazione effettivo in base al contesto.
public string GetEffectiveAuthenticationScheme(string? authenticationScheme);
abstract member GetEffectiveAuthenticationScheme : string -> string
override this.GetEffectiveAuthenticationScheme : string -> string
Public Function GetEffectiveAuthenticationScheme (authenticationScheme As String) As String
Parametri
- authenticationScheme
- String
Schema di autenticazione proposto.
Valori restituiti
Autenticazione effettivaScheme che è lo schema di autenticazione se non è null o in caso contrario OpenIdConnectDefault.AuthenticationScheme se viene chiamato da un'app Web e JwtBearerDefault.AuthenticationScheme se viene chiamato da un'API Web.