AuthFeatures describes the host's OAuth capabilities.
| 177 | |
| 178 | // AuthFeatures describes the host's OAuth capabilities. |
| 179 | type AuthFeatures struct { |
| 180 | // TODO expiringTokensCleanup - remove once GHES 3.22 support ends. |
| 181 | // ExpiringTokens indicates support for offline_access, available on GHES 3.23+. |
| 182 | ExpiringTokens bool |
| 183 | } |
| 184 | |
| 185 | type detector struct { |
| 186 | host string |
nothing calls this directly
no outgoing calls
no test coverage detected