server

package
v0.0.0-...-927c354 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServer

type AuthServer interface {
	ServeHTTP(w http.ResponseWriter, req *http.Request)
}

func NewAuthServer

func NewAuthServer(opts *AuthServerOptions) AuthServer

type AuthServerOptions

type AuthServerOptions struct {
	StaticDir       string
	UseHtmlRedirect bool
}

type WebMessage

type WebMessage struct {
	RedirectURI      string
	WebMessageURI    string
	WebMessageTarget string
	Code             string
	State            string
	Error            string
	ErrorDescription string
}

Jump to

Keyboard shortcuts

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