Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AsAMachine = "as a machine" AsAUser = "as a user" )
Functions ¶
This section is empty.
Types ¶
type AuthenticateState ¶
type AuthenticateState int
AuthenticateState represents the current state of the authentication process
const ( StateNotStarted AuthenticateState = iota StateClientCredentialsInProgress StateClientCredentialsCompleted StateClientCredentialsError StateDeviceFlowInitiated StateDeviceFlowCodeReceived StateDeviceFlowError StateDeviceFlowBrowserWait StateDeviceFlowBrowserCompleted StateDeviceFlowBrowserError StateDeviceFlowCompleted )
Constants for different authentication states
type LoginModel ¶
type LoginModel struct {
// contains filtered or unexported fields
}
func NewLoginModel ¶
func NewLoginModel(cli *core.CLI) *LoginModel
NewLoginModel creates and initializes a new LoginModel
func (*LoginModel) GetOutputValue ¶
func (m *LoginModel) GetOutputValue() models.OutputResult
func (*LoginModel) Init ¶
func (m *LoginModel) Init() tea.Cmd
func (*LoginModel) NextQuestion ¶
func (m *LoginModel) NextQuestion()
func (*LoginModel) View ¶
func (m *LoginModel) View() string
View renders the current view of the model
Click to show internal directories.
Click to hide internal directories.