Versions in this module Expand all Collapse all v4 v4.0.1 Apr 16, 2022 v4.0.0 Apr 13, 2022 Changes in this version + type AddGroups struct + GroupIDs []string + ID string + func (r AddGroups) GetBody() (body map[string]interface{}) + func (r AddGroups) GetMethod() string + func (r AddGroups) GetPath() string + func (r AddGroups) GetQueries() map[string][]string + type AddRoles struct + ID string + RoleNames []string + func (r AddRoles) GetBody() (body map[string]interface{}) + func (r AddRoles) GetMethod() string + func (r AddRoles) GetPath() string + func (r AddRoles) GetQueries() map[string][]string + type Client struct + A permify.API + func (client *Client) AddGroups(groups AddGroups) (*permify.MessageResponse, error) + func (client *Client) AddRoles(roles AddRoles) (*permify.MessageResponse, error) + func (client *Client) Create(createUserParams Create) (*Response, error) + func (client *Client) Delete(userID string) (*Response, error) + func (client *Client) Get(userID string) (*Response, error) + func (client *Client) IsAuthorized(authorized IsAuthorized) (*IsAuthorizedResponse, error) + func (client *Client) List(listUserParams List) (*MultipleResponseWithPagination, error) + func (client *Client) RemoveGroups(groups RemoveGroups) (*permify.MessageResponse, error) + func (client *Client) RemoveRoles(roles RemoveRoles) (*permify.MessageResponse, error) + func (client *Client) Update(updateUserParams Update) (*Response, error) + type Create struct + Attributes map[string]interface{} + GroupIDs []string + ID string + Name string + Photo string + RoleNames []string + func (r Create) GetBody() (body map[string]interface{}) + func (r Create) GetMethod() string + func (r Create) GetPath() string + func (r Create) GetQueries() map[string][]string + type Delete struct + ID string + func (r Delete) GetBody() map[string]interface{} + func (r Delete) GetMethod() string + func (r Delete) GetPath() string + func (r Delete) GetQueries() map[string][]string + type IsAuthorized struct + ActionAlias string + CascadeCreate bool + Environment *map[string]interface{} + PolicyName string + ResourceID *string + ResourceType *string + UserID string + func (r IsAuthorized) GetBody() (body map[string]interface{}) + func (r IsAuthorized) GetMethod() string + func (r IsAuthorized) GetPath() string + func (r IsAuthorized) GetQueries() map[string][]string + type IsAuthorizedResponse struct + Data struct{ ... } + type List struct + GroupIDs []string + Limit string + OrderBy string + Page string + SortBy string + func (r List) GetBody() map[string]interface{} + func (r List) GetMethod() string + func (r List) GetPath() string + func (r List) GetQueries() map[string][]string + type MultipleResponseWithPagination struct + Data struct{ ... } + type RemoveGroups struct + GroupIDs []string + ID string + func (r RemoveGroups) GetBody() (body map[string]interface{}) + func (r RemoveGroups) GetMethod() string + func (r RemoveGroups) GetPath() string + func (r RemoveGroups) GetQueries() map[string][]string + type RemoveRoles struct + ID string + RoleNames []string + func (r RemoveRoles) GetBody() (body map[string]interface{}) + func (r RemoveRoles) GetMethod() string + func (r RemoveRoles) GetPath() string + func (r RemoveRoles) GetQueries() map[string][]string + type Response struct + Data permify.User + type Show struct + ID string + func (r Show) GetBody() map[string]interface{} + func (r Show) GetMethod() string + func (r Show) GetPath() string + func (r Show) GetQueries() map[string][]string + type Update struct + Attributes *map[string]interface{} + ID string + Name *string + Photo *string + func (r Update) GetBody() (body map[string]interface{}) + func (r Update) GetMethod() string + func (r Update) GetPath() string + func (r Update) GetQueries() map[string][]string