Documentation ¶
Index ¶
- Constants
- func New(version string) func() *schema.Provider
- type APIClient
- func (c *APIClient) AddGroupMember(group_id string, user_id string) (*http.Response, error)
- func (c *APIClient) CreateGroup(group *Group) (*Group, *http.Response, error)
- func (c *APIClient) CreateUser(user *User) (*User, *http.Response, error)
- func (c *APIClient) DeleteGroup(id string) (*http.Response, error)
- func (c *APIClient) DeleteUser(id string) (*http.Response, error)
- func (c *APIClient) FindGroupByDisplayname(displayname string) (*Group, *http.Response, error)
- func (c *APIClient) FindUserByUsername(username string) (*User, *http.Response, error)
- func (c *APIClient) ListUsers() (*[]User, *http.Response, error)
- func (c *APIClient) PatchGroup(opmsg *OperationMessage, id string) (*Group, *http.Response, error)
- func (c *APIClient) PatchUser(opmsg *OperationMessage, id string) (*User, *http.Response, error)
- func (c *APIClient) PutUser(user *User, id string) (*User, *http.Response, error)
- func (c *APIClient) ReadGroup(id string) (*Group, *http.Response, error)
- func (c *APIClient) ReadUser(id string) (*User, *http.Response, error)
- func (c *APIClient) RemoveGroupMember(group_id string, user_id string) (*http.Response, error)
- func (c *APIClient) TestGroupMember(group_id string, user_id string) (bool, *http.Response, error)
- type Address
- type Email
- type EnterpriseUser
- type Group
- type GroupListResponse
- type Manager
- type Member
- type Meta
- type Name
- type Operation
- type OperationMessage
- type PhoneNumber
- type RLHttpClient
- type User
- type UserListResponse
Constants ¶
View Source
const ( // Time out requests after 10 seconds ClientTimeout int = 10 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { BaseURL *url.URL Token string UserAgent string // contains filtered or unexported fields }
func (*APIClient) AddGroupMember ¶
func (*APIClient) CreateGroup ¶
func (*APIClient) CreateUser ¶ added in v0.3.0
func (*APIClient) DeleteUser ¶ added in v0.3.0
func (*APIClient) FindGroupByDisplayname ¶
func (*APIClient) FindUserByUsername ¶
func (*APIClient) PatchGroup ¶ added in v0.8.0
func (*APIClient) RemoveGroupMember ¶
type EnterpriseUser ¶
type GroupListResponse ¶
type Name ¶
type Name struct { Formatted string `json:"formatted,omitempty"` FamilyName string `json:"familyName,omitempty"` GivenName string `json:"givenName,omitempty"` MiddleName string `json:"middleName,omitempty"` HonorificPrefix string `json:"honorificPrefix,omitempty"` HonorificSuffix string `json:"honorificSuffix,omitempty"` }
type OperationMessage ¶
type PhoneNumber ¶
type RLHttpClient ¶ added in v0.2.0
type User ¶
type User struct { Meta Meta `json:"meta,omitempty"` ID string `json:"id"` ExternalID string `json:"externalId,omitempty"` UserName string `json:"userName"` Name Name `json:"name,omitempty"` DisplayName string `json:"displayName,omitempty"` NickName string `json:"nickName,omitempty"` ProfileURL string `json:"profileUrl,omitempty"` Title string `json:"title,omitempty"` UserType string `json:"userType,omitempty"` PreferredLanguage string `json:"preferredLanguage,omitempty"` Locale string `json:"locale,omitempty"` Timezone string `json:"timezone,omitempty"` Active bool `json:"active,omitempty"` Emails []Email `json:"emails,omitempty"` PhoneNumbers []PhoneNumber `json:"phoneNumbers,omitempty"` Addresses []Address `json:"addresses,omitempty"` EnterpriseUser *EnterpriseUser `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User,omitempty"` Schemas []string `json:"schemas"` Roles []string `json:"roles,omitempty"` Groups []string `json:"groups,omitempty"` }
Click to show internal directories.
Click to hide internal directories.