oauth2client

package
v0.0.0-...-e8687af Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrGetSession = errors.New("get user data from session failed")
View Source
var OAuthUserSessionKey = `oauthUser`

Functions

func DelSession

func DelSession(ctx echo.Context)

func GetSession

func GetSession(ctx echo.Context) (*goth.User, bool, error)

func SaveSession

func SaveSession(ctx echo.Context, ouser *goth.User) error

Types

This section is empty.

Directories

Path Synopsis
providers
webx
Package webx implements the OAuth2 protocol for authenticating users through webx.
Package webx implements the OAuth2 protocol for authenticating users through webx.

Jump to

Keyboard shortcuts

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