Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { CognitoClient *cognito.CognitoIdentityProvider UserPoolID string AppClientID string AppClientSecret string }
App holds internals for auth flow.
func (*App) Login ¶
func (a *App) Login(w http.ResponseWriter, r *http.Request)
Login handles login scenario.
func (*App) OTP ¶
func (a *App) OTP(w http.ResponseWriter, r *http.Request)
OTP handles phone verification step.
Click to show internal directories.
Click to hide internal directories.