(ctx context.Context, prompter oauth.Prompter)
| 91 | type oauthAuthenticator interface { |
| 92 | HasToken() bool |
| 93 | Authenticate(ctx context.Context, prompter oauth.Prompter) (*oauth.Outcome, error) |
| 94 | } |
| 95 | |
| 96 | // createOAuthMiddleware returns receiving middleware that authorizes the session |
no outgoing calls