Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginWithUsernameAndPasswordResult ¶
type LoginWithUsernameAndPasswordResult struct {
ErrorMessage string
SuccessMessage string
Token string
}
func LoginWithUsernameAndPassword ¶
func LoginWithUsernameAndPassword( ctx context.Context, a types.AuthPasswordInterface, email string, password string, options types.UserAuthOptions, ) LoginWithUsernameAndPasswordResult
type RegisterWithUsernameAndPasswordResult ¶
type RegisterWithUsernameAndPasswordResult struct {
ErrorMessage string
SuccessMessage string
Token string
}
func RegisterWithUsernameAndPassword ¶
func RegisterWithUsernameAndPassword( ctx context.Context, email string, password string, firstName string, lastName string, options types.UserAuthOptions, a types.AuthPasswordInterface, verificationExpiration time.Duration, ) RegisterWithUsernameAndPasswordResult
Click to show internal directories.
Click to hide internal directories.