Documentation
¶
Overview ¶
Package userauth contains the User/Authentication HTTP endpoint logic/router group
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator is the interface for objects that allow JWT authentication for other (non-sign in) endpoints
type GroupPlanClaims ¶
type GroupPlanClaims struct { jwt.StandardClaims Email string `json:"email"` AvatarURL string `json:"pfp"` DisplayName string `json:"name"` }
GroupPlanClaims is the JWT authentication claims object for GroupPlan
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is the object responsible for the /auth endpoint
func (Handler) AuthCallback ¶
AuthCallback is the HTTP endpoint for the Discord authorization callback
Click to show internal directories.
Click to hide internal directories.