Documentation
¶
Index ¶
- type Auth
- func (a *Auth) RefreshTokenToIDToken(refreshToken string) (*User, error)
- func (a *Auth) ResetPassword(email string) error
- func (a *Auth) SignInWithCustomToken(token string) (*User, error)
- func (a *Auth) SignInWithEmailAndPassword(email string, password string) (*User, error)
- func (a *Auth) SignUpWithEmailAndPassword(email string, password string) (*User, error)
- type OtherData
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
Auth has all the functions for authentication
func CreateAuth ¶
CreateAuth creates an Auth struct with the supplied app
func (*Auth) RefreshTokenToIDToken ¶
RefreshTokenToIDToken allows you to exchange a refresh token for an ID token
func (*Auth) ResetPassword ¶
ResetPassword allows you to send a password reset email to a user with a certain email
func (*Auth) SignInWithCustomToken ¶
SignInWithCustomToken allows you to exchange a custom Auth token for an ID and refresh token
func (*Auth) SignInWithEmailAndPassword ¶
SignInWithEmailAndPassword lets you sign in a user with a specified email and password
Click to show internal directories.
Click to hide internal directories.