User profile authorizers: (v5.3)
Some authorizers only apply on the user profile:
1) Roles/permissions
To check roles and permissions 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 -
RequireAllRolesAuthorizerchecks that a user profile has all the expected roles -
RequireAnyPermissionAuthorizerchecks that a user profile has at least one of the expected permissions -
RequireAllPermissionsAuthorizerchecks that a user profile has all the expected permissions
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