# Functions
AccessTokenOAuth manages all access token requests by the client.
Activate render activate user page.
ActivateEmail render the activate email page.
ActivatePost handles account activation with password check.
AuthorizeOAuth manages authorize requests.
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.
ForgotPasswd render the forget password page.
ForgotPasswdPost response for forget password request.
GrantApplicationOAuth manages the post request submitted when a user grants access to an application.
HandleSignOut resets the session and sets the cookies.
InfoOAuth manages request for userinfo endpoint.
IntrospectOAuth introspects an oauth token.
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 their account was created by an admin.
OIDCKeys generates the JSON Web Key Set.
OIDCWellKnown generates JSON so OIDC clients know Gitea's capabilities.
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 account recovery page.
ResetPasswdPost response from account recovery request.
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.
WebAuthn shows the WebAuthn login page.
WebAuthnLoginAssertion submits a WebAuthn challenge to the browser.
WebAuthnLoginAssertionPost validates the signature and logs the user in.
WebAuthnPasskeyAssertion submits a WebAuthn challenge for the passkey login to the browser.
WebAuthnPasskeyLogin handles the WebAuthn login process using a Passkey.
# Constants
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.
for activate user.
for showing a message for user activation.
# Structs
AuthorizeError represents an error type specified in RFC 6749 https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1.
# Type aliases
AuthorizeErrorCode represents an error code specified in RFC 6749 https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1.