共用方式為


IAuthorizationPolicyProvider.GetFallbackPolicyAsync 方法

定義

取得後援授權原則。

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^> ^ GetFallbackPolicyAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy> GetFallbackPolicyAsync ();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy?> GetFallbackPolicyAsync ();
abstract member GetFallbackPolicyAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>
Public Function GetFallbackPolicyAsync () As Task(Of AuthorizationPolicy)

傳回

後援授權原則。

適用於