Documentation ¶
Index ¶
- func GetRevision() string
- func NewGroupService(clientID string, accountID string, clientSecret string) settings.CRUDService[*groups.Group]
- func Service(credentials *settings.Credentials) settings.CRUDService[*groups.Group]
- type GroupServiceClient
- func (me *GroupServiceClient) AccountID() string
- func (me *GroupServiceClient) ClientID() string
- func (me *GroupServiceClient) ClientSecret() string
- func (me *GroupServiceClient) Create(ctx context.Context, group *groups.Group) (*api.Stub, error)
- func (me *GroupServiceClient) Delete(ctx context.Context, id string) error
- func (me *GroupServiceClient) Get(ctx context.Context, id string, v *groups.Group) (err error)
- func (me *GroupServiceClient) List(ctx context.Context) (api.Stubs, error)
- func (me *GroupServiceClient) Name() string
- func (me *GroupServiceClient) SchemaID() string
- func (me *GroupServiceClient) Update(ctx context.Context, uuid string, group *groups.Group) error
- type ListGroup
- type ListGroupsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRevision ¶ added in v1.60.0
func GetRevision() string
func NewGroupService ¶
func Service ¶
func Service(credentials *settings.Credentials) settings.CRUDService[*groups.Group]
Types ¶
type GroupServiceClient ¶
type GroupServiceClient struct {
// contains filtered or unexported fields
}
func (*GroupServiceClient) AccountID ¶
func (me *GroupServiceClient) AccountID() string
func (*GroupServiceClient) ClientID ¶
func (me *GroupServiceClient) ClientID() string
func (*GroupServiceClient) ClientSecret ¶
func (me *GroupServiceClient) ClientSecret() string
func (*GroupServiceClient) Create ¶
TODO ... keep group cache up to date UUID string `json:"uuid"` Name string `json:"name"` Description string `json:"description"` FederatedAttributeValues []string `json:"federatedAttributeValues"` Permissions groups.Permissions `json:"permissions"`
func (*GroupServiceClient) Delete ¶
func (me *GroupServiceClient) Delete(ctx context.Context, id string) error
func (*GroupServiceClient) Name ¶ added in v1.28.0
func (me *GroupServiceClient) Name() string
func (*GroupServiceClient) SchemaID ¶
func (me *GroupServiceClient) SchemaID() string
type ListGroupsResponse ¶
Click to show internal directories.
Click to hide internal directories.