次の方法で共有


ITokenAcquisition.GetEffectiveAuthenticationScheme(String) Method

Definition

Get the effective authentication scheme based on the context.

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

Parameters

authenticationScheme
String

Proposed authentication scheme.

Returns

Effective authenticationScheme which is the authentication scheme if it's not null, or otherwise OpenIdConnectDefault.AuthenticationScheme if called from a web app, and JwtBearerDefault.AuthenticationScheme if called from a web API.

Applies to