Documentation
¶
Index ¶
- Constants
- type MeModel
- type PatchOperationModel
- type UserClient
- func (c *UserClient) CreateUser(ctx context.Context, user UserCreateModel) (*http.Response, error)
- func (c *UserClient) GetMe(ctx context.Context, attributes string) (MeModel, error)
- func (c *UserClient) GetSchemas(ctx context.Context) (interface{}, error)
- func (c *UserClient) PatchMe(ctx context.Context, operations []PatchOperationModel) (MeModel, error)
- type UserCreateModel
Constants ¶
View Source
const ( PatchOpAdd = "add" PatchOpReplace = "replace" PatchOpRemove = "remove" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PatchOperationModel ¶ added in v0.0.18
type PatchOperationModel = internal.PatchOperation
type UserClient ¶
type UserClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.ClientConfig) (*UserClient, error)
func (*UserClient) CreateUser ¶
func (c *UserClient) CreateUser(ctx context.Context, user UserCreateModel) (*http.Response, error)
func (*UserClient) GetMe ¶ added in v0.0.18
GetMe retrieves the authenticated user, optionally limited to comma-separated attributes
func (*UserClient) GetSchemas ¶ added in v0.0.18
func (c *UserClient) GetSchemas(ctx context.Context) (interface{}, error)
GetSchemas retrieves the SCIM schemas
func (*UserClient) PatchMe ¶ added in v0.0.18
func (c *UserClient) PatchMe(ctx context.Context, operations []PatchOperationModel) (MeModel, error)
PatchMe updates the authenticated user
Click to show internal directories.
Click to hide internal directories.