Documentation ¶
Index ¶
- Constants
- func NewAuthenticator(t *testing.T) authgo.Authenticator
- func NewEmailVerifier() authgo.EmailVerifier
- func NewTestAccount(t *testing.T, a authgo.Authenticator) *authgo.Account
- func SignIn(t *testing.T, a authgo.Authenticator) (string, *authgo.Account)
- func SignOut(t *testing.T, a authgo.Authenticator, token string)
Constants ¶
View Source
const ( TEST_USER_ID = int64(1) TEST_EMAIL = "alice@example.com" TEST_USERNAME = "alice" TEST_PASSWORD = "password1234" )
View Source
const TEST_CHALLENGE = "abcd1234"
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶
func NewAuthenticator(t *testing.T) authgo.Authenticator
func NewEmailVerifier ¶
func NewEmailVerifier() authgo.EmailVerifier
func NewTestAccount ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.