Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupsResponse ¶
type ScimClient ¶
type ScimClient struct {
// contains filtered or unexported fields
}
func NewScimClient ¶
func NewScimClient(scimToken string, httpClient *http.Client) *ScimClient
func (*ScimClient) GetGroups ¶
func (c *ScimClient) GetGroups(ctx context.Context, count int, startIndex int) (GroupsResponse, error)
GetGroups returns all Notion groups.
func (*ScimClient) GetPaginatedGroups ¶
func (c *ScimClient) GetPaginatedGroups(ctx context.Context) ([]Group, error)
GetPaginatedGroups returns all groups - paginated.
Click to show internal directories.
Click to hide internal directories.