Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) Create ¶
func (c *Client) Create( ctx context.Context, id string, request *management.CreateGroupRolesRequestParameters, opts ...option.RequestOption, ) error
Assign one or more roles(https://auth0.com/docs/manage-users/access-control/rbac) to a specified group.
func (*Client) Delete ¶
func (c *Client) Delete( ctx context.Context, id string, request *management.DeleteGroupRolesRequestContent, opts ...option.RequestOption, ) error
Unassign one or more roles(https://auth0.com/docs/manage-users/access-control/rbac) from a specified group.
func (*Client) List ¶
func (c *Client) List( ctx context.Context, id string, request *management.ListGroupRolesRequestParameters, opts ...option.RequestOption, ) (*core.Page[*string, *management.Role, *management.ListGroupRolesResponseContent], error)
Lists the roles(https://auth0.com/docs/manage-users/access-control/rbac) assigned to a group.
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) Create ¶
func (r *RawClient) Create( ctx context.Context, id string, request *management.CreateGroupRolesRequestParameters, opts ...option.RequestOption, ) (*core.Response[any], error)
func (*RawClient) Delete ¶
func (r *RawClient) Delete( ctx context.Context, id string, request *management.DeleteGroupRolesRequestContent, opts ...option.RequestOption, ) (*core.Response[any], error)
Click to show internal directories.
Click to hide internal directories.