Registry / auth / nerzal-gocloak-v11

nerzal-gocloak-v11

JSON →
library11.2.0gogounverified

Keycloak client library for Go with full API support.

go get github.com/Nerzal/gocloak/v11
INSTALL
IMPORT
SIG · NERZAL-GOCLOAK-V11
N
nerzal-gocloak-v11
authgov11.2.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/v11

Authenticate a client and retrieve an access token.

package main import ( "fmt" "github.com/Nerzal/gocloak/v11" ) func main() { client := gocloak.NewClient("https://keycloak.example.com") token, _ := client.LoginClient("client-id", "client-secret", "realm") fmt.Println(token.AccessToken) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
11.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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