Class NoOpApplicationRole
- Namespace
- Kentico.Membership
- Assembly
- Kentico.Membership.dll
A no-operation implementation of the ASP.NET Identity role.
public sealed class NoOpApplicationRole : IdentityRole<int>
- Inheritance
-
objectIdentityRole<int>NoOpApplicationRole
- Extension Methods
Remarks
Adding and configuring Identity for an application via AddIdentity{TUser, TRole} requires both an IdentityUser and an IdentityRole implementation. However, the Xperience membership does not support roles. This class, together with NoOpApplicationRoleStore is a placeholder to simplify the configuration process. Both implementations contain no logic and are not called from anywhere by Xperience.