authentication

package
v0.0.0-...-d22e7c3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionRegister        string = "register"
	ActionLogin           string = "login"
	ActionVerifyPayment   string = "verify-payment"
	ActionVerifyChangePin string = "verify-changepin"
)

list of authentication action

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action int

Action of authentication

type Authentication

type Authentication struct {
	Action   Action
	Provider Provider
	Username string
}

Authentication entity

type Provider

type Provider string

Provider of authentication

const (
	ProviderOTP      Provider = "otp"
	ProviderPassword Provider = "password"
	ProviderPin      Provider = "pin"
)

list of authentication provider

Jump to

Keyboard shortcuts

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