Documentation
¶
Index ¶
- func BeginLogin(email string) (challengeID uuid.UUID, err error)
- func CompleteLogin(email, otpCode, password string, challengeID uuid.UUID) (token string, err error)
- func GetDeviceIoT(serial string) (devices.IoT, error)
- func GetDevices() ([]devices.Device, error)
- func SetServerRegion(r ServerRegion)
- func SetToken(t string)
- type AccountStatus
- type ServerRegion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteLogin ¶
func GetDevices ¶
func SetServerRegion ¶
func SetServerRegion(r ServerRegion)
Types ¶
type AccountStatus ¶
type AccountStatus string
const ( AccountStatusActive AccountStatus = "ACTIVE" AccountStatusUnregistered AccountStatus = "UNREGISTERED" )
func GetUserStatus ¶
func GetUserStatus(email string) (AccountStatus, error)
Click to show internal directories.
Click to hide internal directories.