thirdpartyauthentication

package
v0.0.0-...-9b02830 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthorizeEndpointUrl

func GetAuthorizeEndpointUrl(oas OAuthServer) string

Types

type OAuthServer

type OAuthServer struct {
	Host                 string
	Port                 string
	AuthorizeEndpoint    string
	UserTokenInformation UserTokenInformation
}

func (*OAuthServer) Authorize

func (oauthServer *OAuthServer) Authorize(request fasthttp.Request) (string, string, error)

type ProtectionInfo

type ProtectionInfo struct {
	Header   string
	UserInfo string
	Cached   bool
	Error    error
}

type UserTokenInformation

type UserTokenInformation struct {
	Source      string
	Name        string
	Active      bool
	Information string
}

Jump to

Keyboard shortcuts

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