http

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

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

func NewAuth

func NewAuth(
	reqDecoder http2.DecodeRequestFunc,
	um *biz.UserManager,
	l log.Logger,
	signIn *biz.SignInManager,
	hclient *client.APIClient,
) *Auth

func (*Auth) Consent

func (*Auth) ConsentGet

func (a *Auth) ConsentGet(w http.ResponseWriter, r *http.Request) (*v1.GetConsentResponse, error)

func (*Auth) LoginGet

func (a *Auth) LoginGet(w http.ResponseWriter, r *http.Request) (*v1.GetLoginResponse, error)

func (*Auth) LoginOutGet

func (a *Auth) LoginOutGet(w http.ResponseWriter, r *http.Request) (*v1.GetLogoutResponse, error)

func (*Auth) LoginPost

func (a *Auth) LoginPost(w http.ResponseWriter, r *http.Request) (*v1.WebLoginAuthReply, error)

func (*Auth) Logout

func (a *Auth) Logout(w http.ResponseWriter, r *http.Request) (*v1.LogoutResponse, error)

Jump to

Keyboard shortcuts

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