Thanks to visit codestin.com
Credit goes to pkg.go.dev

scim

package
v2.21.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

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