auth

package
v0.0.0-...-2e80e89 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Begin

func Begin() gin.HandlerFunc

Begin login with the auth provider

func Callback

func Callback(cfg *utils.ServerConfig, orm *orm.ORM) gin.HandlerFunc

Callback callback to complete auth provider flow

func Logout

func Logout() gin.HandlerFunc

Logout logs out of the auth provider

Types

type Claims

type Claims struct {
	Email string `json:"email"`
	jwt.StandardClaims
}

Claims JWT claims

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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