scim

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(pool *pgxpool.Pool) *Handler

func (*Handler) CreateUser

func (h *Handler) CreateUser(w http.ResponseWriter, r *http.Request)

func (*Handler) DeleteUser

func (h *Handler) DeleteUser(w http.ResponseWriter, r *http.Request)

func (*Handler) GetUser

func (h *Handler) GetUser(w http.ResponseWriter, r *http.Request)

func (*Handler) ListUsers

func (h *Handler) ListUsers(w http.ResponseWriter, r *http.Request)

func (*Handler) PatchUser

func (h *Handler) PatchUser(w http.ResponseWriter, r *http.Request)

func (*Handler) ReplaceUser

func (h *Handler) ReplaceUser(w http.ResponseWriter, r *http.Request)

func (*Handler) ResourceTypes

func (h *Handler) ResourceTypes(w http.ResponseWriter, r *http.Request)

func (*Handler) Routes

func (h *Handler) Routes() chi.Router

func (*Handler) Schemas

func (h *Handler) Schemas(w http.ResponseWriter, r *http.Request)

func (*Handler) ServiceProviderConfig

func (h *Handler) ServiceProviderConfig(w http.ResponseWriter, r *http.Request)

type SCIMEmail

type SCIMEmail struct {
	Value   string `json:"value"`
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary"`
}

type SCIMListResponse

type SCIMListResponse struct {
	Schemas      []string   `json:"schemas"`
	TotalResults int        `json:"totalResults"`
	StartIndex   int        `json:"startIndex"`
	ItemsPerPage int        `json:"itemsPerPage"`
	Resources    []SCIMUser `json:"Resources"`
}

type SCIMMeta

type SCIMMeta struct {
	ResourceType string `json:"resourceType"`
	Created      string `json:"created,omitempty"`
	LastModified string `json:"lastModified,omitempty"`
	Location     string `json:"location,omitempty"`
}

type SCIMName

type SCIMName struct {
	Formatted string `json:"formatted,omitempty"`
}

type SCIMUser

type SCIMUser struct {
	Schemas  []string    `json:"schemas"`
	ID       string      `json:"id"`
	UserName string      `json:"userName"`
	Name     *SCIMName   `json:"name,omitempty"`
	Emails   []SCIMEmail `json:"emails,omitempty"`
	Active   bool        `json:"active"`
	Meta     SCIMMeta    `json:"meta"`
}

Jump to

Keyboard shortcuts

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