Manager handles OAuth authentication.
| 22 | |
| 23 | type callbackWaiter func(context.Context, string, string, net.Listener, LoginOptions) (string, error) |
| 24 | type listenerFactory func(context.Context, string, string) (net.Listener, error) |
| 25 | |
| 26 | // The callback listener binds an ephemeral loopback port (RFC 8252 §7.3): |
| 27 | // a fixed port lets any local process squat it and block sign-in. |
| 28 | const callbackListenAddr = "127.0.0.1:0" |
| 29 | |
| 30 | // Manager handles OAuth authentication. |
| 31 | type Manager struct { |
| 32 | baseURL string |
nothing calls this directly
no outgoing calls
no test coverage detected