Compartir a través de


IAuthorizationPolicyProvider.GetDefaultPolicyAsync Método

Definición

Obtiene la directiva de autorización predeterminada.

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

Devoluciones

La directiva de autorización predeterminada.

Se aplica a