Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clavex Go SDK

Go Reference Go Report Card

Official Go management SDK for the Clavex IAM API.

It covers organizations, users, roles & groups, OIDC/SAML/WS-Fed clients, federation, FGA, PAM, governance, EUDI wallet (OID4VCI / OID4VP / mdoc), CIBA, SSF, webhooks, SCIM and more.

Install

go get github.com/clavex-eu/clavex-sdk-go

Requires Go 1.21+.

Quickstart

package main

import (
	"context"
	"log"

	clavex "github.com/clavex-eu/clavex-sdk-go"
)

func main() {
	client, err := clavex.New("https://auth.example.com",
		clavex.WithCredentials("myorg", "admin@example.com", "password"),
	)
	if err != nil {
		log.Fatal(err)
	}

	ctx := context.Background()
	users, err := client.Users.List(ctx, "org-id")
	if err != nil {
		log.Fatal(err)
	}
	log.Printf("found %d users", len(users))
}

Documentation

Full API reference: pkg.go.dev/github.com/clavex-eu/clavex-sdk-go.

Versioning

Semantic versioning via git tags (vX.Y.Z). Breaking changes only on major bumps.

License

Apache License 2.0 — see LICENSE.

About

Official Go management SDK for the Clavex IAM API (orgs, users, OIDC/SAML, federation, FGA, PAM, governance, EUDI wallet).

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages