Dela via


IAuthorizationPolicyProvider.GetFallbackPolicyAsync Method

Definition

Gets the fallback authorization policy.

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)

Returns

The fallback authorization policy.

Applies to