Versions in this module Expand all Collapse all v0 v0.0.3 Apr 4, 2021 Changes in this version + var ContextAPIKey = contextKey("apikey") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextOAuth2 = contextKey("token") + func CacheExpires(r *http.Response) time.Time + type APIClient struct + ServiceProviderConfigApi *ServiceProviderConfigApiService + UserApi *UserApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) ChangeBasePath(path string) + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type Address struct + Country string + Locality string + PostalCode string + Region string + StreetAddress string + Type_ string + type AuthenticationScheme struct + Description string + DocumentationUrl string + Name string + SpecUrl string + type AuthenticationSchemes struct + AuthenticationSchemes []AuthenticationScheme + type BasicAuth struct + Password string + UserName string + type BulkSupported struct + MaxOperations int32 + MaxPayloadSize int32 + Supported bool + type Configuration struct + BasePath string + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + Scheme string + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + type Email struct + Type_ string + Value string + type EnterpriseUser struct + Department string + type ErrorResponse struct + Detail string + Schemas []string + ScimType string + Status string + type FilterSupported struct + MaxResults int32 + Supported bool + type Meta struct + Created time.Time + LastModified time.Time + Location string + ResourceType string + type Name struct + FamilyName string + GivenName string + type PatchOperation struct + Op string + Path string + Value interface{} + type PhoneNumber struct + Type_ string + Value string + type Photo struct + Type_ string + Value string + type SearchRequest struct + Count int32 + Filter string + Schemas []string + StartIndex int32 + type ServiceProviderConfig struct + AuthenticationSchemes *AuthenticationSchemes + Bulk *BulkSupported + ChangePassword *Supported + Etag *Supported + Filter *FilterSupported + Patch *Supported + Schemas []string + Sort *Supported + XmlDataFormat *Supported + type ServiceProviderConfigApiService service + func (a *ServiceProviderConfigApiService) GetServiceProviderConfig(ctx context.Context) (ServiceProviderConfig, *http.Response, error) + type Supported struct + Supported bool + type User struct + Active bool + Addresses []Address + Emails []Email + ExternalId string + Id string + Name *Name + PhoneNumbers []PhoneNumber + Photos []Photo + Schemas []string + Urnietfparamsscimschemasextensionenterprise20User *EnterpriseUser + UserName string + type UserApiService service + func (a *UserApiService) CreateUser(ctx context.Context, localVarOptionals map[string]interface{}) (UserResponse, *http.Response, error) + func (a *UserApiService) DeleteUser(ctx context.Context, id string) (*http.Response, error) + func (a *UserApiService) GetUserById(ctx context.Context, id string) (UserResponse, *http.Response, error) + func (a *UserApiService) PatchUser(ctx context.Context, id string, localVarOptionals map[string]interface{}) (UserResponse, *http.Response, error) + func (a *UserApiService) ReplaceUser(ctx context.Context, id string, localVarOptionals map[string]interface{}) (UserResponse, *http.Response, error) + func (a *UserApiService) SearchViaGet(ctx context.Context, localVarOptionals map[string]interface{}) (UserSearchResponse, *http.Response, error) + func (a *UserApiService) SearchViaPost(ctx context.Context, localVarOptionals map[string]interface{}) (UserSearchResponse, *http.Response, error) + type UserPatch struct + Active *bool + Addresses []Address + Emails []Email + Id string + Name *Name + Operations []PatchOperation + PhoneNumbers []PhoneNumber + Photos []Photo + Schemas []string + Urnietfparamsscimschemasextensionenterprise20User *EnterpriseUser + UserName string + type UserResponse struct + Active bool + Addresses []Address + Emails []Email + ExternalId string + Id string + Meta *Meta + Name *Name + PhoneNumbers []PhoneNumber + Photos []Photo + Schemas []string + Urnietfparamsscimschemasextensionenterprise20User *EnterpriseUser + UserName string + type UserSearchResponse struct + ItemsPerPage int64 + Resources []UserResponse + Schemas []string + StartIndex int64 + TotalResults int64