login

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COTTER_ENDPOINT         = "https://js.cotter.app/app"
	COTTER_BACKEND_ENDPOINT = "https://www.cotter.app/api/v0"
	LOCAL_PORT              = "8395"
	LOCAL_ENDPOINT          = "http://localhost:" + LOCAL_PORT
)

Variables

This section is empty.

Functions

func NewCmdLogin

func NewCmdLogin(context *cmdcontext.Context) *cobra.Command

Types

type CotterOauthToken

type CotterOauthToken struct {
	AccessToken  string `json:"access_token"`
	AuthMethod   string `json:"auth_method"`
	ExpiresIn    int    `json:"expires_in"`
	IDToken      string `json:"id_token"`
	RefreshToken string `json:"refresh_token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL