oauth

package
v0.1.127 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StateCookieName unify name of oauth2 cookies
	StateCookieName = "OAUTH2_STATE"
	// OriginURICookieName unify name of oauth2 cookies
	OriginURICookieName = "OAUTH2_ORIGIN_URI"
	// OriginProjectCookieName unify name of oauth2 cookies
	OriginProjectCookieName = "OAUTH2_ORIGIN_PROJECT"
	// SessionCookieName unify name of oauth2 cookies
	SessionCookieName = "OAUTH2_SESSION"
)

Variables

This section is empty.

Functions

func CallbackHandler

func CallbackHandler(oauthConfig *conf.OAuthConf, sessions *_sessions.Sessions) http.HandlerFunc

CallbackHandler handles the callback from Gitlab OAuth

Types

This section is empty.

Jump to

Keyboard shortcuts

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