Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUserHandler ¶
func RegisterUserHandler(handler UserHandler)
Types ¶
type UserHandler ¶
type UserHandler interface { GetUserDetails(ctx context.Context, username, password string) (*SecurityModel.UserDetails, error) GetMobileUserDetails(ctx context.Context, mobile string, code string) (*SecurityModel.UserDetails, error) GetEmailUserDetails(ctx context.Context, email string, code string) (*SecurityModel.UserDetails, error) GetSocialUserDetails(ctx context.Context, socialChannelId string, code string) (*SecurityModel.UserDetails, error) }
Click to show internal directories.
Click to hide internal directories.