CLIAuthSessionStatus is the response from GET /auth/cli/sessions/{code}.
| 988 | |
| 989 | // CLIAuthSessionStatus is the response from GET /auth/cli/sessions/{code}. |
| 990 | type CLIAuthSessionStatus struct { |
| 991 | Status string `json:"status"` // "pending", "approved", "expired" |
| 992 | Token string `json:"token,omitempty"` |
| 993 | User LoginUser `json:"user,omitempty"` |
| 994 | } |
| 995 | |
| 996 | // CreateCLIAuthSession creates a new pending CLI auth session. |
| 997 | func (c *Client) CreateCLIAuthSession() (*CLIAuthSessionResponse, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected