DefaultAuthorizationPolicyProvider.GetFallbackPolicyAsync 方法

定义

获取回退授权策略。

public:
 virtual 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>
override this.GetFallbackPolicyAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>
Public Function GetFallbackPolicyAsync () As Task(Of AuthorizationPolicy)

返回

回退授权策略。

实现

适用于