AppServicesAuthenticationTokenAcquisition.GetEffectiveAuthenticationScheme Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Uzyskaj skuteczny schemat uwierzytelniania na podstawie kontekstu.
public string GetEffectiveAuthenticationScheme(string? authenticationScheme);
abstract member GetEffectiveAuthenticationScheme : string -> string
override this.GetEffectiveAuthenticationScheme : string -> string
Public Function GetEffectiveAuthenticationScheme (authenticationScheme As String) As String
Parametry
- authenticationScheme
- String
Proponowany schemat uwierzytelniania.
Zwraca
Skuteczne uwierzytelnianieScheme, który jest schematem uwierzytelniania, jeśli nie ma wartości null, lub w przeciwnym razie OpenIdConnectDefault.AuthenticationScheme, jeśli jest wywoływany z aplikacji internetowej, i JwtBearerDefault.AuthenticationScheme, jeśli jest wywoływany z internetowego interfejsu API.