verify

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
}

func NewExtension

func NewExtension() *Extension

func (*Extension) Callback

func (e *Extension) Callback(i *identity.Identity, value interface{}, config *schema.Extension) error

type Manager

type Manager interface {
	Verify(key string) error
	UnVerify(key string) error
	IsVerified(key string) (bool, error)
}

type ManagerMemory

type ManagerMemory struct {
}

func NewManagerMemory

func NewManagerMemory() *ManagerMemory

func (*ManagerMemory) IsVerified

func (m *ManagerMemory) IsVerified(key string) (bool, error)

func (*ManagerMemory) UnVerify

func (m *ManagerMemory) UnVerify(key string) error

func (*ManagerMemory) Verify

func (m *ManagerMemory) Verify(key string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳