Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

aubelsb2/oauth2-logger-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oauth2 proxy logger

This is a set of simple proxy loggers for https://github.com/go-oauth2/oauth2 as it can be hard to get a good idea what's happening. Usage is rather simple, it wraps the component you actually use and logs the input and output. It's a bit verbose as it's meant to be used for debugging purposes.

Manager:

    	srv := server.NewDefaultServer(oauth2_logger_proxy.ProxyManager{manager})

ClientStore:

    	manager.MapClientStorage(oauth2_logger_proxy.ProxyClientStore{dynamo.NewClientStore(c)})

Random injector functions:

        srv.SetClientInfoHandler(oauth2_logger_proxy.ProxyClientFormHandler(ClientFormHandler))

Happy to accept PRs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages