DefaultAuthorizationPolicyProvider.GetDefaultPolicyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the default authorization policy.
public:
virtual 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>
override this.GetDefaultPolicyAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>
Public Function GetDefaultPolicyAsync () As Task(Of AuthorizationPolicy)
Returns
The default authorization policy.