Documentation ¶
Index ¶
- func Account(ctx *context.Context)
- func AccountPost(ctx *context.Context)
- func AdoptOrDeleteRepository(ctx *context.Context)
- func Applications(ctx *context.Context)
- func ApplicationsPost(ctx *context.Context)
- func AvatarPost(ctx *context.Context)
- func DeleteAccount(ctx *context.Context)
- func DeleteAccountLink(ctx *context.Context)
- func DeleteApplication(ctx *context.Context)
- func DeleteAvatar(ctx *context.Context)
- func DeleteEmail(ctx *context.Context)
- func DeleteKey(ctx *context.Context)
- func DeleteOAuth2Application(ctx *context.Context)
- func DeleteOpenID(ctx *context.Context)
- func DisableTwoFactor(ctx *context.Context)
- func EmailPost(ctx *context.Context)
- func EnrollTwoFactor(ctx *context.Context)
- func EnrollTwoFactorPost(ctx *context.Context)
- func HandleUsernameChange(ctx *context.Context, user *models.User, newName string) error
- func Keys(ctx *context.Context)
- func KeysPost(ctx *context.Context)
- func OAuth2ApplicationShow(ctx *context.Context)
- func OAuthApplicationsEdit(ctx *context.Context)
- func OAuthApplicationsPost(ctx *context.Context)
- func OAuthApplicationsRegenerateSecret(ctx *context.Context)
- func OpenIDPost(ctx *context.Context)
- func Organization(ctx *context.Context)
- func Profile(ctx *context.Context)
- func ProfilePost(ctx *context.Context)
- func RegenerateScratchTwoFactor(ctx *context.Context)
- func Repos(ctx *context.Context)
- func RevokeOAuth2Grant(ctx *context.Context)
- func Security(ctx *context.Context)
- func ToggleOpenIDVisibility(ctx *context.Context)
- func U2FDelete(ctx *context.Context)
- func U2FRegister(ctx *context.Context)
- func U2FRegisterPost(ctx *context.Context)
- func UpdateAvatarSetting(ctx *context.Context, form *forms.AvatarForm, ctxUser *models.User) error
- func UpdateUIThemePost(ctx *context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountPost ¶
AccountPost response for change user's password
func AdoptOrDeleteRepository ¶
AdoptOrDeleteRepository adopts or deletes a repository
func Applications ¶
Applications render manage access token page
func ApplicationsPost ¶
ApplicationsPost response for add user's access token
func AvatarPost ¶
AvatarPost response for change user's avatar request
func DeleteAccount ¶
DeleteAccount render user suicide page and response for delete user himself
func DeleteAccountLink ¶
DeleteAccountLink delete a single account link
func DeleteApplication ¶
DeleteApplication response for delete user access token
func DeleteEmail ¶
DeleteEmail response for delete user's email
func DeleteOAuth2Application ¶
DeleteOAuth2Application deletes the given oauth2 application
func DeleteOpenID ¶
DeleteOpenID response for delete user's openid
func DisableTwoFactor ¶
DisableTwoFactor deletes the user's 2FA settings.
func EnrollTwoFactor ¶
EnrollTwoFactor shows the page where the user can enroll into 2FA.
func EnrollTwoFactorPost ¶
EnrollTwoFactorPost handles enrolling the user into 2FA.
func HandleUsernameChange ¶
HandleUsernameChange handle username changes from user settings and admin interface
func OAuth2ApplicationShow ¶
OAuth2ApplicationShow displays the given application
func OAuthApplicationsEdit ¶
OAuthApplicationsEdit response for editing oauth2 application
func OAuthApplicationsPost ¶
OAuthApplicationsPost response for adding a oauth2 application
func OAuthApplicationsRegenerateSecret ¶
OAuthApplicationsRegenerateSecret handles the post request for regenerating the secret
func OpenIDPost ¶
OpenIDPost response for change user's openid
func Organization ¶
Organization render all the organization of the user
func ProfilePost ¶
ProfilePost response for change user's profile
func RegenerateScratchTwoFactor ¶
RegenerateScratchTwoFactor regenerates the user's 2FA scratch code.
func RevokeOAuth2Grant ¶
RevokeOAuth2Grant revokes the grant with the given id
func ToggleOpenIDVisibility ¶
ToggleOpenIDVisibility response for toggle visibility of user's openid
func U2FRegister ¶
U2FRegister initializes the u2f registration procedure
func U2FRegisterPost ¶
U2FRegisterPost receives the response of the security key
func UpdateAvatarSetting ¶
UpdateAvatarSetting update user's avatar FIXME: limit size.
func UpdateUIThemePost ¶
UpdateUIThemePost is used to update users' specific theme
Types ¶
This section is empty.