scim

package module
v0.0.0-...-cdcdc8b Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: MIT Imports: 0 Imported by: 0

README

scim

SCIM tools for Go (Work In Progress)

  • server - SCIM server
  • client - SCIM client
  • resource - Definition of SCIM resource types
  • filter - Basic SCIM filter parsing, with a simple SQL generator

SYNOPSIS

package examples_test

import (
  "context"
  "fmt"
  "testing"

  "github.com/lestrrat-go/scim/client"
)

func TestClient_CreateUser(t *testing.T) {
  const baseURL = `https://scim.example.com`
  cl := client.New(baseURL)

  user, err := cl.User().CreateUser().
    DisplayName(`Daisuke Maki`).
    ExternalID(`lestrrat`).
    Do(context.TODO())
  if err != nil {
    fmt.Printf("failed to create user: %s", err)
  }

  _ = user
}

source: ./examples/client_user_create_example_test.go

TODO

  • Implement a sample server
  • Implement check in CI to diff against generated code

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
This file is based on https://github.com/hiyosi/filter/blob/master/lexer.go Licensed under MIT license The MIT License (MIT) Copyright (c) 2015 Tomoya Usami Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
This file is based on https://github.com/hiyosi/filter/blob/master/lexer.go Licensed under MIT license The MIT License (MIT) Copyright (c) 2015 Tomoya Usami Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Jump to

Keyboard shortcuts

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