Show / Hide Table of Contents

Class AuthorizationOptionsExtensions

Inheritance
System.Object
AuthorizationOptionsExtensions
Namespace: Microsoft.AspNetCore.Authorization
Assembly: Volo.Abp.Authorization.dll
Syntax
public static class AuthorizationOptionsExtensions : object

Methods

GetPoliciesNames(AuthorizationOptions)

Gets all policies.

IMPORTANT NOTE: Use this method carefully. It relies on reflection to get all policies from a private field of the . This method may be removed in the future if internals of changes.

Declaration
public static List<string> GetPoliciesNames(this AuthorizationOptions options)
Parameters
Type Name Description
AuthorizationOptions options
Returns
Type Description
List<System.String>
Back to top Powered by Volosoft