refresh

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Backend = "refresh"

Backend name

Variables

This section is empty.

Functions

This section is empty.

Types

type Refresh

type Refresh struct {
	// contains filtered or unexported fields
}

Refresh backend provides authentication against a refresh token endpoint. If the refresh request returns a http 200 status code then the user is considered logged in.

func (Refresh) Authenticate

func (h Refresh) Authenticate(requestToAuth *http.Request) (bool, error)

Authenticate fulfils the backend interface

Jump to

Keyboard shortcuts

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