package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: Oct 14, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type GithubCallbackRequest struct {
Code string `query:"code" required:"true" doc:"OAuth authorization code"`
State string `query:"state" required:"true" doc:"OAuth state parameter"`
}
type GithubCallbackResponse struct {
SessionCookie *http.Cookie `header:"Set-Cookie" doc:"session cookie"`
Location string `header:"Location" required:"true" doc:"redirect to next URL"`
}
type GithubLoginRequest struct {
Next string `query:"next" required:"true" doc:"redirect URL after authentication"`
Code string `query:"code" required:"false" minLength:"8" maxLength:"8" doc:"optional device flow code"`
}
type GithubLoginResponse struct {
Location string `header:"Location" required:"true" doc:"redirect to github OAuth"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.