Registry / auth / nerzal-gocloak-v13

nerzal-gocloak-v13

JSON →
library13.9.0gogounverified

A Go client library for interacting with Keycloak's admin and authentication APIs.

go get github.com/Nerzal/gocloak/v13
INSTALL
IMPORT
SIG · NERZAL-GOCLOAK-V13
N
nerzal-gocloak-v13
authgov13.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gocloak
github.com/Nerzal/gocloak/v13

Create a Keycloak client and log in as admin.

package main import ( "context" "github.com/Nerzal/gocloak/v13" ) func main() { client := gocloak.NewClient("https://keycloak.example.com") token, _ := client.LoginAdmin(context.Background(), "admin", "password", "master") _ = token }
Debug
Known issues
breakingThe v13 module path includes /v13; older versions have different import paths.
fix
Use import "github.com/Nerzal/gocloak/v13" for the latest version.
affects: >=13.0.0
Upgrade
Version history
13.9.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
nerzal-gocloak-v13 — go get nerzal-gocloak-v13 · libregistry