Documentation ¶
Index ¶
- type PhoneProvider
- func (PhoneProvider) Callback(*auth.Context)
- func (PhoneProvider) ConfigAuth(*auth.Auth)
- func (PhoneProvider) GetName() string
- func (PhoneProvider) Login(context *auth.Context)
- func (PhoneProvider) Logout(context *auth.Context)
- func (PhoneProvider) Register(context *auth.Context)
- func (PhoneProvider) ServeHTTP(*auth.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhoneProvider ¶
type PhoneProvider struct { }
PhoneProvider provide login with phone method
func New ¶
func New() *PhoneProvider
func (PhoneProvider) Callback ¶
func (PhoneProvider) Callback(*auth.Context)
Callback implement Callback with phone provider
func (PhoneProvider) ConfigAuth ¶
func (PhoneProvider) ConfigAuth(*auth.Auth)
ConfigAuth config auth
func (PhoneProvider) Login ¶
func (PhoneProvider) Login(context *auth.Context)
Login implemented login with phone provider
func (PhoneProvider) Logout ¶
func (PhoneProvider) Logout(context *auth.Context)
Logout implemented logout with phone provider
func (PhoneProvider) Register ¶
func (PhoneProvider) Register(context *auth.Context)
Register implemented register with phone provider
func (PhoneProvider) ServeHTTP ¶
func (PhoneProvider) ServeHTTP(*auth.Context)
ServeHTTP implement ServeHTTP with phone provider
Click to show internal directories.
Click to hide internal directories.