Documentation ¶
Index ¶
- type Client
- func (client *Client) AuthOK() error
- func (client *Client) CreateOrg(name, ownerDisplayName, ownerEmail safe.VarChar, ownerPassword safe.Password, ...) (*org.Org, error)
- func (client *Client) CreateUser(displayName safe.VarChar, email safe.VarChar, org models.ID, ...) (*user.User, error)
- func (client *Client) DeleteOrg(id models.ID) error
- func (client *Client) OK() error
- func (client *Client) ReadOrg(id models.ID) (*org.Org, error)
- func (client *Client) ReadOrgUsers(id models.ID) ([]models.ID, error)
- func (client *Client) ReadUser(id models.ID) (*user.User, error)
- func (client *Client) RefreshToken() error
- func (client *Client) UpdateOrgOwner(id models.ID, owner models.ID) (*org.Org, error)
- func (client *Client) UpdateOrgStatus(id models.ID, status models.Status) (*org.Org, error)
- func (client *Client) UpdateUserAPISecret(id models.ID) (*user.User, error)
- func (client *Client) UpdateUserDisplayName(id models.ID, displayName safe.VarChar) (*user.User, error)
- func (client *Client) UpdateUserPassword(id models.ID, password safe.Password) (*user.User, error)
- func (client *Client) UpdateUserStatus(id models.ID, status models.Status) (*user.User, error)
- type ResponseErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateUser ¶
func (*Client) RefreshToken ¶
func (*Client) UpdateOrgOwner ¶
func (*Client) UpdateOrgStatus ¶
func (*Client) UpdateUserAPISecret ¶
func (*Client) UpdateUserDisplayName ¶
func (*Client) UpdateUserPassword ¶
type ResponseErr ¶
func (ResponseErr) Error ¶
func (r ResponseErr) Error() string
Click to show internal directories.
Click to hide internal directories.