server

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(urls config.URLs, config oauth2.Config, oauthContext context.Context, jwtConfig config.JWT, userProfileLoader config.UserProfileLoader) *Service

func (Service) GetRoutes

func (s Service) GetRoutes() []req.RouteHandler

func (Service) ParseRequestAuth

func (s Service) ParseRequestAuth(r http.Request) (*auth.Token, error)

func (Service) SupportsRequestAuth

func (s Service) SupportsRequestAuth(r http.Request) (bool, error)

func (Service) VerifyAuthorization

func (s Service) VerifyAuthorization(_ http.Request, _ *auth.Token) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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