Documentation ¶
Index ¶
- type Client
- func (c *Client) ActivateUser(email, orgId string) error
- func (c *Client) CreateUser(login, email, orgId string) error
- func (c *Client) CreateUserInDefaultOrg(login, email string) error
- func (c *Client) DeactivateUser(email, orgId string) error
- func (c *Client) DeleteUser(id, orgId string) error
- func (c *Client) DeleteUserFromDefaultOrg(email string) error
- func (c *Client) GetOrganization() (org Organization, err error)
- func (c *Client) GetUserByEmail(email string, orgId string) (user User, err error)
- func (c *Client) GetUserByName(name string, orgId string) (user User, err error)
- func (c *Client) GetUserKeyZipUrl(email string) (url string, err error)
- func (c *Client) GetUserKeys(userId, orgId string) (key Key, err error)
- func (c *Client) UpdateUser(id, orgId string, userInfo *User) error
- type Key
- type Organization
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Host string Token string Secret string Organization string // contains filtered or unexported fields }
func (*Client) ActivateUser ¶
func (*Client) CreateUser ¶
func (*Client) CreateUserInDefaultOrg ¶
func (*Client) DeactivateUser ¶
func (*Client) DeleteUser ¶
func (*Client) DeleteUserFromDefaultOrg ¶
func (*Client) GetOrganization ¶
func (c *Client) GetOrganization() (org Organization, err error)
func (*Client) GetUserByEmail ¶
func (*Client) GetUserByName ¶
func (*Client) GetUserKeyZipUrl ¶
func (*Client) GetUserKeys ¶
type Organization ¶
Click to show internal directories.
Click to hide internal directories.