Documentation ¶
Index ¶
- func Service(credentials *settings.Credentials) settings.CRUDService[*users.User]
- type GetUserGroupsResponse
- type GroupStub
- type ListUsersResponse
- type UserServiceClient
- func (me *UserServiceClient) AccountID() string
- func (me *UserServiceClient) ClientID() string
- func (me *UserServiceClient) ClientSecret() string
- func (me *UserServiceClient) Create(ctx context.Context, user *users.User) (*api.Stub, error)
- func (me *UserServiceClient) Delete(ctx context.Context, email string) error
- func (me *UserServiceClient) Get(ctx context.Context, email string, v *users.User) error
- func (me *UserServiceClient) List(ctx context.Context) (api.Stubs, error)
- func (me *UserServiceClient) SchemaID() string
- func (me *UserServiceClient) Update(ctx context.Context, email string, user *users.User) error
- type UserStub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Service ¶
func Service(credentials *settings.Credentials) settings.CRUDService[*users.User]
Types ¶
type GetUserGroupsResponse ¶
type ListUsersResponse ¶
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(clientID string, accountID string, clientSecret string) *UserServiceClient
func (*UserServiceClient) AccountID ¶
func (me *UserServiceClient) AccountID() string
func (*UserServiceClient) ClientID ¶
func (me *UserServiceClient) ClientID() string
func (*UserServiceClient) ClientSecret ¶
func (me *UserServiceClient) ClientSecret() string
func (*UserServiceClient) Delete ¶
func (me *UserServiceClient) Delete(ctx context.Context, email string) error
func (*UserServiceClient) SchemaID ¶
func (me *UserServiceClient) SchemaID() string
Click to show internal directories.
Click to hide internal directories.