package
0.14.2-beta9
Repository: https://github.com/ecadlabs/auth.git
Documentation: pkg.go.dev

# Functions

NewUserInt insert a new user in the database along with his initial tenant.
OpsFromPatch create a RoleOps struct from a patch request.

# Constants

AccountRegular represents regulat user account.
AccountService represents service account.
ActiveState string representing the active membership state.
InvitedState string representing the invited membership state.
LogDefaultSortColumn default column for sorting logs.
MemberMembership string representing the member membership.
MembershipsDefaultSortColumn default column for sorting memberships.
OwnerMembership string representing the owner membership.
OwnerRole string representing the owner role.
SortAsc sortOrder representing ascending sort direction.
SortDesc sortOrder representing descending sort direction.
TenantsDefaultSortColumn default column for sorting tenants.
TenantTypeIndividual string representing the individual tenant type.
TenantTypeOrg string representing the organization tenant type.
UsersDefaultSortColumn default column for sorting users.

# Structs

APIKey represents service account API key.
CreateUser struct representing data necessary to create a new user.
LogEntry struct representing a log entry.
Member struct representing a member.
Membership struct representing a user.
No description provided by the author
Ops struct that represent patch.
Storage service that manage database operation for the user resource.
TenantModel struct that represent tenant resource.
User struct representing a user.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Roles type for holding roles map.
SortOrder int alias used for sort direction.
StringSet type for holding list of unique strings.