Documentation
¶
Index ¶
- Variables
- func GenerateLoginOTP(ctx context.Context, logger logger.Logger, baseUrl string) (string, bool, error)
- func Logout()
- func VerifySignupOTP(ctx context.Context, logger logger.Logger, baseUrl string, otp string) (string, string, int64, error)
- type LoginResult
- type OTPCompleteResponse
- type OTPStartResponse
- type Organization
- type User
- type UserResponse
- type VerifySignupOTPResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLoginTimeout = errors.New("timed out")
Functions ¶
func GenerateLoginOTP ¶ added in v0.0.36
Types ¶
type LoginResult ¶
func PollForLoginCompletion ¶ added in v0.0.36
type OTPCompleteResponse ¶ added in v0.0.36
type OTPStartResponse ¶ added in v0.0.36
type Organization ¶ added in v0.0.69
type User ¶ added in v0.0.36
type User struct {
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Organizations []Organization `json:"organizations"`
}
type UserResponse ¶ added in v0.0.36
Click to show internal directories.
Click to hide internal directories.