code

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Create(record *Record) (string, error)
	Pop(code string) (*Record, bool)
}

Manager is a interface defining a code manager.

type Record

type Record struct {
	AuthenticationRequest *payload.AuthenticationRequest
	Auth                  identity.AuthRecord
	Session               *payload.Session
}

Record bundles the data storedi in a code manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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