package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Nov 28, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AuthRequest struct {
RedirectURI string `json:"redirect_uri"`
AuthURL string `json:"auth_url"`
GitHubUserID string `json:"github_user_id"`
GitHubUserLogin string `json:"github_user_login"`
}
type RequestGenerateOAuthPageURL struct {
RedirectURI string `json:"redirect_uri"`
AuthURL string `json:"auth_url"`
}
type RequestGetAuthResult struct {
RID string `in:"query=rid;form=rid;required" json:"rid"`
}
type RequestRedirect struct {
RID string `in:"query=rid;form=rid;required" json:"rid"`
Code string `in:"query=code;form=code;required" json:"code"`
}
type ResponseError struct {
Message string `json:"msg"`
}
type ResponseGenerateOAuthPageURL struct {
OAuthPageURL string `json:"oauth_page_url"`
}
type ResponseGetAuthResult struct {
RedirectURI string `json:"redirect_uri"`
GitHubUserID string `json:"github_user_id"`
GitHubUserLogin string `json:"github_user_login"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.