phone

package
v0.0.0-...-2a3cdc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2020 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

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) GetName

func (PhoneProvider) GetName() string

GetName return provider name

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL