MCPcopy Create free account
hub / github.com/RiotGames/key-conjurer / AuthorizationCodeHandler

Struct AuthorizationCodeHandler

pkg/oauth2cli/authorizationcode.go:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50type AuthorizationCodeHandler struct {
51 config *oauth2.Config
52 serveURL func(url string) error
53}
54
55func (r AuthorizationCodeHandler) HandlePendingSession(ctx context.Context, listener net.Listener) (*oauth2.Token, error) {
56 state := generateState()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected