Package | Version |
---|---|
SimplyWorks.MTM |
MTM is a multi-tenant management system that handles setting up users, authenticating them, and authorizing them for program access.
As the owner of a tenant, MTM allows for you to invite an employee, making them users under your tenancy. To authenticate a user, MTM returns a JSON Web Token (JWT), identifying the user's permissions.
The MTM Client outlines the steps the user takes to enable MTM onto the program and interact with its many properties. To complete a cycle on MTM, call the following functions:
The first step is to create a tenant by calling the CreateTenant
method provided by the SDK, which takes in details in the model of TenantCreate
and includes the tenant's name for example.
Then invite the user to reside under the tenancy, calling Invite
. Given the user accepts the invitation, we can move on to the following step in the cycle.
The second step is to accept the invitation by calling AcceptInvitation
method provided by the SDK, which takes in the details by mode of InvitationAccept
.
This is when MTM completes the cycle, creating for the logged-in user an account, indentifying their role, and enabling access onto the program under the tenancy.
Prompt CreateAccount
and your user is ready.
The user logs in, prompting Login
(which takes in details in the AccountLogin
model) using their outlined credentials, previously returned by the MTM-generated token.
Like with most user-based programs, MTM allows users a variety of properties to modify the program's use. (Note: the properties marked with an asterisk are limited to the Administrator and Moderators' use.)
If you encounter any bugs, don't hesitate to submit an issue. We'll get back to you promptly!