DeviceAuthenticator performs the authentication flow for logging in.
| 53 | |
| 54 | // DeviceAuthenticator performs the authentication flow for logging in. |
| 55 | type DeviceAuthenticator struct { |
| 56 | client *http.Client |
| 57 | BaseURL *url.URL |
| 58 | Clock clock.Clock |
| 59 | ClientID string |
| 60 | } |
| 61 | |
| 62 | // New returns an instance of the DeviceAuthenticator |
| 63 | func New(authURL string) (*DeviceAuthenticator, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected