API represents API interactions with Auth0.
| 27 | |
| 28 | // API represents API interactions with Auth0. |
| 29 | type API struct { |
| 30 | // TenantURL is the base used for each request to Auth0. |
| 31 | TenantURL string |
| 32 | // ClientID is the client ID for the application to auth with the tenant. |
| 33 | ClientID string |
| 34 | // Scopes are the scopes that are requested during the device auth flow. |
| 35 | Scopes []string |
| 36 | } |
| 37 | |
| 38 | // TokenResponse represents the response of the /oauth/token route. |
| 39 | type TokenResponse struct { |
nothing calls this directly
no outgoing calls
no test coverage detected