oauth2backend

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func NewBackend

func NewBackend(origin string, config oauth2.Config, oauthContext context.Context, jwtConfig config.JWT) Backend

func (Backend) GetRoutes

func (b Backend) GetRoutes(userProfileLoader config.UserProfileLoader) []req.RouteHandler

func (Backend) ParseRequestAuth

func (b Backend) ParseRequestAuth(req http.Request) (*auth.Token, error)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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