Documentation
¶
Index ¶
- type Client
- func (c *Client) AddUserToGroup(ctx context.Context, groupId, userId string) error
- func (c *Client) AddUserToSite(ctx context.Context, user CreateUserRequest) (*User, error)
- func (c *Client) GetGroupUsers(ctx context.Context, groupId string, pageSize int, pageNumber int) ([]User, Pagination, error)
- func (c *Client) GetGroups(ctx context.Context, pageSize int, pageNumber int) ([]Group, Pagination, error)
- func (c *Client) GetPaginatedGroupUsers(ctx context.Context, groupId string) ([]User, error)
- func (c *Client) GetPaginatedGroups(ctx context.Context) ([]Group, error)
- func (c *Client) GetPaginatedUsers(ctx context.Context) ([]User, error)
- func (c *Client) GetSite(ctx context.Context) (Site, error)
- func (c *Client) GetUsers(ctx context.Context, pageSize int, pageNumber int) ([]User, Pagination, error)
- func (c *Client) GetUsersPage(ctx context.Context, token string) ([]User, string, error)
- func (c *Client) ListIdpConfigurations(ctx context.Context) ([]IdpConfiguration, error)
- func (c *Client) RemoveUserFromGroup(ctx context.Context, groupId, userId string) error
- func (c *Client) RemoveUserFromSite(ctx context.Context, userId string) error
- func (c *Client) UpdateUserSiteRole(ctx context.Context, userId string, siteRole string) error
- func (c *Client) VerifyUser(ctx context.Context) error
- type CreateUserRequest
- type Credentials
- type Group
- type IdpConfiguration
- type Pagination
- type Site
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddUserToGroup ¶ added in v0.0.2
AddUserToGroup adds user to a group.
func (*Client) AddUserToSite ¶ added in v0.0.5
func (*Client) GetGroupUsers ¶
func (c *Client) GetGroupUsers(ctx context.Context, groupId string, pageSize int, pageNumber int) ([]User, Pagination, error)
GetGroupUsers returns all users in a group.
func (*Client) GetGroups ¶
func (c *Client) GetGroups(ctx context.Context, pageSize int, pageNumber int) ([]Group, Pagination, error)
GetGroups returns all groups on site.
func (*Client) GetPaginatedGroupUsers ¶
GetPaginatedGroupUsers returns all users in a group - paginated.
func (*Client) GetPaginatedGroups ¶
GetPaginatedGroups returns all groups - paginated.
func (*Client) GetPaginatedUsers ¶
GetPaginatedUsers returns all users - paginated.
func (*Client) GetUsers ¶
func (c *Client) GetUsers(ctx context.Context, pageSize int, pageNumber int) ([]User, Pagination, error)
GetUsers returns all users on site.
func (*Client) GetUsersPage ¶ added in v0.0.4
func (*Client) ListIdpConfigurations ¶ added in v0.1.4
func (c *Client) ListIdpConfigurations(ctx context.Context) ([]IdpConfiguration, error)
func (*Client) RemoveUserFromGroup ¶ added in v0.0.2
RemoveUserFromGroup removes user from a group.