Condividi tramite


IAuthorizationPolicyProvider.GetDefaultPolicyAsync Metodo

Definizione

Ottiene i criteri di autorizzazione predefiniti.

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)

Restituisce

Criteri di autorizzazione predefiniti.

Si applica a