Documentation ¶
Index ¶
Constants ¶
View Source
const ( WithEmail = "email" WithGoogle = "google" WithNoProvider = "" )
Variables ¶
This section is empty.
Functions ¶
func EnsureUserAt ¶
EnsureUserAt navigates to given URL and ensures that a user is logged in
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
User contains ui user information
func CreateUser ¶
CreateUser returns an instance of User
func (*User) LoginWithEmail ¶
func (u *User) LoginWithEmail()
LoginWithEmail logs in a user with email and password
func (*User) LoginWithGoogle ¶
func (u *User) LoginWithGoogle()
LoginWithGoogle logs in a user with google
Click to show internal directories.
Click to hide internal directories.