package
1.39.2
Repository: https://github.com/drone/go-scm.git
Documentation: pkg.go.dev

# Functions

ContextTokenSource returns a TokenSource that returns a token from the http.Request context.
StaticTokenSource returns a TokenSource that always returns the same token.

# Constants

Supported authentication schemes.
Supported authentication schemes.

# Structs

Refresher is an http.RoundTripper that refreshes oauth tokens, wrapping a base RoundTripper and refreshing the token if expired.
Transport is an http.RoundTripper that refreshes oauth tokens, wrapping a base RoundTripper and refreshing the token if expired.