user_manager v0.2.0 UserManager.UserManagerApi
External API for UserManager Workflows.
Functionality will be exposed here as workflows are added
Summary
Functions
Validates a name and password against a UserProfile, if successful returns a token based upon the Guardian token_type ‘authentication_source’
authenticates a user from a list of permissions. require_all is used to specify if all permissions are required or only a single_permission would be required to meet the requirement
Creates a User a UserProfile and Permissions
Looks up a user from a token
Functions
Validates a name and password against a UserProfile, if successful returns a token based upon the Guardian token_type ‘authentication_source’
authenticates a user from a list of permissions. require_all is used to specify if all permissions are required or only a single_permission would be required to meet the requirement.
Creates a User a UserProfile and Permissions
Default Create Permissions List is configurable in config: config :user_manager,
new_user_default_permissions: ###SomeGuardianPermissionListHere###