Help us shape the future of Go! Take the 2026 Go Developer Survey

users

package
v0.79.21 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const ErrInvalidCredentials = "invalid credentials"
View Source
const ErrRegistrationFailed = "registration failed"

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