Skip to content

SCIM 2.0 API client auto-generated using RingCentral SCIM OpenAPI / Swagger 2.0 specification.

License

Notifications You must be signed in to change notification settings

grokify/go-scim-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for SCIM

Build Status Go Report Card Docs License

SCIM V2 API implemented by RingCentral

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 0.1.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

$ go get github.com/grokify/go-scim-client

The package name is: scim

Documentation for API Endpoints

Class Method HTTP request Description
ServiceProviderConfigApi GetServiceProviderConfig Get /ServiceProviderConfig get service provider config
UserApi CreateUser Post /Users create a user
UserApi DeleteUser Delete /Users/{id} delete a user
UserApi GetUserById Get /Users/{id} get a user by id
UserApi PatchUser Patch /Users/{id} partially update/patch a user
UserApi ReplaceUser Put /Users/{id} fully update/replace a user
UserApi SearchViaGet Get /Users search or list users
UserApi SearchViaPost Post /Users/.search search or list users

Documentation For Models

Documentation For Authorization

OAuth2

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL:
  • Scopes: N/A

Example

	auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
    r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

	import 	"golang.org/x/oauth2"

    / .. Perform OAuth2 round trip request and obtain a token .. //

    tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
	auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
    r, err := client.Service.Operation(auth, args)

About

SCIM 2.0 API client auto-generated using RingCentral SCIM OpenAPI / Swagger 2.0 specification.

Resources

License

Stars

Watchers

Forks