scim

package
v2.34.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: AGPL-3.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationScheme

type AuthenticationScheme struct {
	Type        string `json:"type"`
	Name        string `json:"name"`
	Description string `json:"description"`
	SpecURI     string `json:"specUri"`
	DocURI      string `json:"documentationUri"`
}

type BulkSupported

type BulkSupported struct {
	Supported  bool `json:"supported"`
	MaxOp      int  `json:"maxOperations"`
	MaxPayload int  `json:"maxPayloadSize"`
}

type FilterSupported

type FilterSupported struct {
	Supported  bool `json:"supported"`
	MaxResults int  `json:"maxResults"`
}

type HTTPError added in v2.18.0

type HTTPError struct {
	// contains filtered or unexported fields
}

HTTPError wraps a *spec.Error for correct usage with 'handlerutil.WriteError'. This error type is cursed to be absolutely strange and specific to the SCIM library we use.

The library expects *spec.Error to be returned on unwrap, and the internal error description to be returned by a json.Marshal of the top level error.

func NewHTTPError added in v2.18.0

func NewHTTPError(status int, eType string, err error) *HTTPError

func (HTTPError) Error added in v2.18.0

func (e HTTPError) Error() string

func (HTTPError) MarshalJSON added in v2.18.0

func (e HTTPError) MarshalJSON() ([]byte, error)

func (HTTPError) Unwrap added in v2.18.0

func (e HTTPError) Unwrap() error

type ServiceProviderConfig

type ServiceProviderConfig struct {
	Schemas        []string               `json:"schemas"`
	DocURI         string                 `json:"documentationUri"`
	Patch          Supported              `json:"patch"`
	Bulk           BulkSupported          `json:"bulk"`
	Filter         FilterSupported        `json:"filter"`
	ChangePassword Supported              `json:"changePassword"`
	Sort           Supported              `json:"sort"`
	ETag           Supported              `json:"etag"`
	AuthSchemes    []AuthenticationScheme `json:"authenticationSchemes"`
	Meta           ServiceProviderMeta    `json:"meta"`
}

type ServiceProviderMeta

type ServiceProviderMeta struct {
	Created      time.Time `json:"created"`
	LastModified time.Time `json:"lastModified"`
	Location     string    `json:"location"`
	ResourceType string    `json:"resourceType"`
}

type Supported

type Supported struct {
	Supported bool `json:"supported"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL