User Functions
This page will include a table of all User functions.
Function Name | Function Description |
---|---|
Function to parse valid SlashAuth tokens and return the claims. Displays an error if the token is invalid. | |
Function to check whether the user has the specific role by a user ID. | |
Function to check whether the user has the specific role by a SlashAuth token. | |
Function to check whether the user has the specific role by a wallet address. | |
Function to return a user by ID. Can optionally return a user for an organization. | |
Function to return users for the given app or a specific organization. This is a paginated API. | |
Function to create a user. Users are scoped at the app-level. | |
Developers are able to store key-value data directly on a user at the app-level and at the org-level. This function allows for updating the key-value store. | |
SlashAuth allows developers to assign roles directly to a user at the app-level and the org-level. This function allows for role assignment directly to a user. | |
SlashAuth allows developers to assign roles directly to a user at the app-level and the org-level. This function allows for a role assignment to be removed from a user. If the user has the role via token-gatee, this function will be a no-op. | |
Function to return all of the organizations that a user has joined. The App must have organizations enabled. |
Last modified 9mo ago