User profile authorizers: (v6.3)
Some authorizers only apply on the user profile:
1) Roles
To check roles on the user profile, you first need to compute them with an AuthorizationGenerator.
-
RequireAnyRoleAuthorizerchecks that a user profile has at least one of the expected roles or at least one role if none is defined -
RequireAllRolesAuthorizerchecks that a user profile has all the expected roles
2) Authentication levels
-
IsAnonymousAuthorizerchecks that the user is anonymous (no profile or anAnonymousProfile) -
IsAuthenticatedAuthorizerchecks that the user has the profile which is not anAnonymousProfile -
IsFullyAuthenticatedAuthorizerchecks that the user is authenticated, but not remembered (isRememberedmethod) -
IsRememberedAuthorizerchecks that the user is authenticated and only remembered (isRememberedmethod)
3) Others
-
CheckProfileTypeAuthorizerchecks the current profile type of the authenticated user -
RequireAnyAttributeAuthorizerchecks that the current profile has the appropriate attribute