package
1.9.0-dev
Repository: https://github.com/quantonganh/gitea.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AccessTokenOAuth manages all access token requests by the client.
Action response for follow/unfollow user request.
Activate render activate user page.
ActivateEmail render the activate email page.
AuthorizeOAuth manages authorize requests.
AutoSignIn reads cookie and try to auto-login.
ConnectOpenID shows a form to connect an OpenID URI to an existing account.
ConnectOpenIDPost handles submission of a form to connect an OpenID URI to an existing account.
Dashboard render the dashborad page.
Email2User show user page via email.
Followers render user's followers page.
Following render user's followering page.
ForgotPasswd render the forget pasword page.
ForgotPasswdPost response for forget password request.
GetNotificationCount is the middleware that sets the notification count in the context.
GetUserByName get user by name.
GetUserByParams returns user whose name is presented in URL paramenter.
GrantApplicationOAuth manages the post request submitted when a user grants access to an application.
Issues render the user issues page.
LinkAccount shows the page where the user can decide to login or create a new account.
LinkAccountPostRegister handle the creation of a new account for an external account using signUp.
LinkAccountPostSignIn handle the coupling of external account with another account using signIn.
MustChangePassword renders the page to change a user's password.
MustChangePasswordPost response for updating a user's password after his/her account was created by an admin.
NotificationPurgePost is a route for 'purging' the list of notifications - marking all unread as read.
Notifications is the notifications page.
NotificationStatusPost is a route for changing the status of a notification.
Profile render user's profile page.
RegisterOpenID shows a form to create a new user authenticated via an OpenID URI.
RegisterOpenIDPost handles submission of a form to create a new user authenticated via an OpenID URI.
ResetPasswd render the reset password page.
ResetPasswdPost response from reset password request.
ShowSSHKeys output all the ssh keys of user by uid.
SignIn render sign in page.
SignInOAuth handles the OAuth2 login buttons.
SignInOAuthCallback handles the callback from the given provider.
SignInOpenID render sign in page.
SignInOpenIDPost response for openid sign in request.
SignInPost response for sign in request.
SignOut sign out from login status.
SignUp render the register page.
SignUpPost response for sign up information submission.
TwoFactor shows the user a two-factor authentication page.
TwoFactorPost validates a user's two-factor authentication token.
TwoFactorScratch shows the scratch code form for two-factor authentication.
TwoFactorScratchPost validates and invalidates a user's two-factor scratch token.
U2F shows the U2F login page.
U2FChallenge submits a sign challenge to the browser.
U2FSign authenticates the user by signResp.

# Constants

AccessTokenErrorCodeInvalidClient represents an error code specified in RFC 6749.
AccessTokenErrorCodeInvalidGrant represents an error code specified in RFC 6749.
AccessTokenErrorCodeInvalidRequest represents an error code specified in RFC 6749.
AccessTokenErrorCodeInvalidScope represents an error code specified in RFC 6749.
AccessTokenErrorCodeUnauthorizedClient represents an error code specified in RFC 6749.
AccessTokenErrorCodeUnsupportedGrantType represents an error code specified in RFC 6749.
ErrorCodeAccessDenied represents the according error in RFC 6749.
ErrorCodeInvalidRequest represents the according error in RFC 6749.
ErrorCodeInvalidScope represents the according error in RFC 6749.
ErrorCodeServerError represents the according error in RFC 6749.
ErrorCodeTemporaryUnavailable represents the according error in RFC 6749.
ErrorCodeUnauthorizedClient represents the according error in RFC 6749.
ErrorCodeUnsupportedResponseType represents the according error in RFC 6749.
TokenTypeBearer represents a token type specified in RFC 6749.
TokenTypeMAC represents a token type specified in RFC 6749.
TplActivate template path for activate user.

# Structs

AccessTokenError represents an error response specified in RFC 6749.
AccessTokenResponse represents a successful access token response.
AuthorizeError represents an error type specified in RFC 6749.

# Type aliases

AccessTokenErrorCode represents an error code specified in RFC 6749.
AuthorizeErrorCode represents an error code specified in RFC 6749.
TokenType specifies the kind of token.