users

package
v0.71.13 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrGithubNoEmail = fmt.Errorf("Github user must have an email")
View Source
var ErrGithubNotVerified = fmt.Errorf("Please verify your email on Github")
View Source
var ErrNotInRestrictedDomain = errors.New("email is not in the restricted domain group")

Functions

This section is empty.

Types

type UserService

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

func NewUserService

func NewUserService(config *server.ServerConfig) *UserService

func (*UserService) UserCreate

func (*UserService) UserGetCurrent

func (*UserService) UserUpdateGithubOauthCallback

Note: we want all errors to redirect, otherwise the user will be greeted with raw JSON in the middle of the login flow.

func (*UserService) UserUpdateGithubOauthStart

Note: we want all errors to redirect, otherwise the user will be greeted with raw JSON in the middle of the login flow.

func (*UserService) UserUpdateGoogleOauthCallback

Note: we want all errors to redirect, otherwise the user will be greeted with raw JSON in the middle of the login flow.

func (*UserService) UserUpdateGoogleOauthStart

Note: we want all errors to redirect, otherwise the user will be greeted with raw JSON in the middle of the login flow.

func (*UserService) UserUpdateLogin

func (*UserService) UserUpdateLogout

Jump to

Keyboard shortcuts

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