| 19 | ) |
| 20 | |
| 21 | type OAuthAPI interface { |
| 22 | GetDeviceCode(ctx context.Context, audience string) (State, error) |
| 23 | WaitForDeviceToken(ctx context.Context, state State) (TokenResponse, error) |
| 24 | RevokeToken(ctx context.Context, refreshToken string) error |
| 25 | GetAutoPAT(ctx context.Context, audience string, res TokenResponse) (string, error) |
| 26 | } |
| 27 | |
| 28 | // API represents API interactions with Auth0. |
| 29 | type API struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…