session

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 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 Provider

type Provider interface {
	Authorize(handle httprouter.Handle, _ ...string) httprouter.Handle
	RegisterClient(r *http.Request) (string, error)
	RevokeClient(r *http.Request) error
	GetAccessToken() string     //GetAccessToken returns temporary access token for protected resources
	Log(logLine string) []error //write log with preset log writer
}

Provider represents authentication provider.

Directories

Path Synopsis
provider

Jump to

Keyboard shortcuts

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