SDK reference / Models / Auth
StartCliSigninRequest
Kind: class
Namespace: Egulu.Sdk.Models.Auth
Starts a sign-in for a command-line client (RFC 8252 loopback with PKCE, or RFC 8628 device). No session exists until a person approves it.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
ClientLabel | string? | clientLabel | What the approval page shows for the client, for example `egulu CLI on HOST`. |
CodeChallenge | string? | codeChallenge | Loopback only: the PKCE challenge, 43 URL-safe characters. |
CodeChallengeMethod | string? | codeChallengeMethod | Loopback only: `S256`, the default and the only method. |
Mode | string? | mode | `loopback` (code returned to a loopback redirect) or `device` (code typed into the portal). |
RedirectUri | string? | redirectUri | Loopback only: an http URI of 127.0.0.1 or [::1] on a port from 1024, with the path /callback. |
State | string? | state | Loopback only: 16 to 128 URL-safe characters; returned with the code. |