scimapi

package
v0.0.0-...-d497cb2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserNameAttribute    attribute = "username"
	IdAttribute          attribute = "id"
	DepartmentAttribute  attribute = "department"
	PhoneNumberAttribute attribute = "phonenumber"
	EmailAttribute       attribute = "email"
	FirstNameAttribute   attribute = "firstname"
	LastNameAttribute    attribute = "lastname"
	ActiveAttribute      attribute = "active"
)
View Source
const API_URL = "http://localhost:6000/scim"
View Source
const ERROR_EXTERNAL_ID = ""

Variables

This section is empty.

Functions

func DeleteUser

func DeleteUser(userName string) (bool, error)

Types

type ExternalId

type ExternalId string

func HandleUser

func HandleUser(newUser *models.User) (ExternalId, error)

type Operations

type Operations struct {
	Op    string `json:"op"`
	Path  string `json:"path"`
	Value string `json:"value"`
}

type PatchRequest

type PatchRequest struct {
	Schemas    []string     `json:"schemas"`
	Operations []Operations `json:"Operations"`
}

Jump to

Keyboard shortcuts

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