Warnings returns the deduplicated warnings recorded so far in this process, such as a skipped token refresh, in the order they were first recorded. Callers are expected to show them to the user before gh exits.
()
| 232 | // Warnings returns the deduplicated warnings recorded so far in this process, such as a skipped token refresh, in |
| 233 | // the order they were first recorded. Callers are expected to show them to the user before gh exits. |
| 234 | Warnings() []string |
| 235 | |
| 236 | // ActiveToken retrieves the active credential for the given hostname, searching environment variables, general |
| 237 | // configuration, and finally encrypted storage. It returns the last stored token as-is, including the current |
no outgoing calls