SignInMethod

SignInMethod selects the native sign-in flow (PROTOCOL §7).

On this page

SignInMethod selects the native sign-in flow (PROTOCOL §7).

type SignInMethod string

Constants#

Sign-in methods.

SignInAuto#

const SignInAuto SignInMethod = "auto"

SignInAuto tries loopback and falls back to paste when there is no display, SSH_CONNECTION is set or the browser cannot be opened.

SignInLoopback#

const SignInLoopback SignInMethod = "loopback"

SignInLoopback listens on 127.0.0.1 and opens the system browser.

SignInPaste#

const SignInPaste SignInMethod = "paste"

SignInPaste prints a URL and reads the code the user pastes back.