groupcache_oauth2

module
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT

README

license Go Report Card Go Reference

groupcache_oauth2

https://github.com/udhos/groupcache_oauth2 implements the oauth2 client_credentials flow cacheing tokens with groupcache.

Usage

FIXME WRITEME

Example client

See cmd/groupcache-oauth2-client-example/main.go.

Test with example client

Test using this token server: https://oauth.tools/collection/1599045253169-GHF

go install github.com/udhos/oauth2/cmd/groupcache-oauth2-client-example@latest

groupcache-oauth2-client-example -tokenURL https://login-demo.curity.io/oauth/v2/oauth-token -clientID demo-backend-client -clientSecret MJlO3binatD9jk1

Development

git clone https://github.com/udhos/groupcache_oauth2
cd groupcache_oauth2
./build.sh

Directories

Path Synopsis
Package clientcredentials helps with oauth2 client-credentials flow.
Package clientcredentials helps with oauth2 client-credentials flow.
cmd
groupcache-oauth2-client-example command
Package main implements the tool.
Package main implements the tool.

Jump to

Keyboard shortcuts

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