User Manager
Introduction
This involves interaction with the authenticated user in some way.
User Manager
The UserManager object enables you get information about the current authenticated user as well as interacting with the User Schema. Methods directly available on this object include -
Get User
This method is used to retrieve a particular user where the username is known. Definition of this method is given as -
Example using this within a processor -
Update User
This method is used to update a user's information. Definition of this method is given as -
Example using this within a processor -
In Role
This method is used to check if a user is in a particular role. Definition of this method is given as -
Example using this method is given as -
Check Password
This method is used to confirm a user's password. Definition of this method is given as -
Example using this method in a processor is given as -
Change Password
This method is used to change a user's password. Definition of the method is given as -
Example using this method in a processor is given as -
Get Users By Param
This method is used to get users that fit a particular criteria. Definition for the method is given as -
Example using this method in a processor is given as -
Generate Scoped Token
This is used to generate a token that can only perform functionalities within a particular scope. Definition for this method is given as -
Example using this method in a processor -
Verify Scoped Token
This method is used to verify a scoped token that has already been generated. It verifies if it is being used within the correct scope and by the right user. Definition for this method is given as -
Example using this method in a processor -
Get Role
This method is used to get a role by its ID. Definition for this method is given as -
Example using this method in a processor -
Get User By Id
This method is used to get a particular user by it's ID. Definition for this method is given as -
Example using this method in processors -
Get Roles
This method is used to get roles that match a particular filter query. Definition of this method is given as -
Example using this method in a processor -
// TODO Write documentation for Access Control Lists.