package
0.0.0-20241014101506-b6d976378a08
Repository: https://github.com/openfga/sdk-generator.git
Documentation: pkg.go.dev

# README

This oauth2 folder contains a oauth2 package with a partial client OAuth2 implementation.

It has been copied over from the original for our use. A lot of the original code and dependencies have been deleted, and the rest reshuffled.

Original Project: Go OAuth2 - pkg.go.dev/golang.org/x/oauth2

Note: The original authors are not aware of this fork, and do not endorse it in any way.

# Structs

Transport is an http.RoundTripper that makes OAuth 2.0 HTTP requests, wrapping a base RoundTripper and adding an Authorization header with a token from the supplied Sources.