authentication

package
v0.0.0-...-1124c96 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountSid = "ACdc8df276bc645fa623463aa214593f4c"
	AuthToken  = "e81860b62714c717095afba59ac31e3a"
)

Functions

func Authentication

func Authentication(username string, password string, decider int) int

Authentication is used to auth

func GenerateOTP

func GenerateOTP() string

func LoginHelper

func LoginHelper(dbPass string, username string, password string) int

func SignUpHelper

func SignUpHelper(dbPass string, username string, password string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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