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

NameTypeJSON nameDescription
ClientLabelstring?clientLabelWhat the approval page shows for the client, for example `egulu CLI on HOST`.
CodeChallengestring?codeChallengeLoopback only: the PKCE challenge, 43 URL-safe characters.
CodeChallengeMethodstring?codeChallengeMethodLoopback only: `S256`, the default and the only method.
Modestring?mode`loopback` (code returned to a loopback redirect) or `device` (code typed into the portal).
RedirectUristring?redirectUriLoopback only: an http URI of 127.0.0.1 or [::1] on a port from 1024, with the path /callback.
Statestring?stateLoopback only: 16 to 128 URL-safe characters; returned with the code.