Language

AppServicesAuthenticationTokenAcquisition.GetEffectiveAuthenticationScheme メソッド

定義

コンテキストに基づいて有効な認証スキームを取得します。

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

パラメーター

authenticationScheme
String

提案された認証スキーム。

返品

有効な authenticationScheme(null でない場合は認証スキーム)、Web アプリから呼び出された場合は OpenIdConnectDefault.AuthenticationScheme、Web API から呼び出された場合は JwtBearerDefault.AuthenticationScheme。

実装

適用対象