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(user *users.User) (*settings.Stub, error)
- func (me *UserServiceClient) Delete(email string) error
- func (me *UserServiceClient) Get(email string, v *users.User) error
- func (me *UserServiceClient) List() (settings.Stubs, error)
- func (me *UserServiceClient) SchemaID() string
- func (me *UserServiceClient) Update(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 GetUserGroupsResponse struct {
Groups []*GroupStub
}
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(email string) error
func (*UserServiceClient) SchemaID ¶
func (me *UserServiceClient) SchemaID() string
Click to show internal directories.
Click to hide internal directories.