Documentation
¶
Index ¶
- type ProfileService
- func (m ProfileService) ActivateTFA(user userland.User, secret string, code string) ([]string, error)
- func (m ProfileService) ChangeEmail(user userland.User, verificationID string) error
- func (m ProfileService) ChangePassword(user userland.User, oldPassword, newPassword string) error
- func (m ProfileService) DeleteAccount(user userland.User, currPassword string) error
- func (m ProfileService) EnrollTFA(user userland.User) (secret string, qrcodeImageBase64 string, err error)
- func (m ProfileService) ListEvents(user userland.User, pagingOptions userland.EventPagingOptions) (userland.Events, int, error)
- func (m ProfileService) Profile(userID int) (userland.User, error)
- func (m ProfileService) ProfileByEmail(email string) (userland.User, error)
- func (m ProfileService) RemoveTFA(user userland.User, currPassword string) error
- func (m ProfileService) RequestChangeEmail(user userland.User, newEmail string) (verificationID string, err error)
- func (m ProfileService) SetProfile(user userland.User) error
- func (m ProfileService) SetProfilePicture(user userland.User, image io.Reader) error
- type SimpleProfileService
- func (m SimpleProfileService) ActivateTFA(user userland.User, secret string, code string) ([]string, error)
- func (m SimpleProfileService) ChangeEmail(user userland.User, verificationID string) error
- func (m SimpleProfileService) ChangePassword(user userland.User, oldPassword, newPassword string) error
- func (m SimpleProfileService) DeleteAccount(user userland.User, currPassword string) error
- func (m SimpleProfileService) EnrollTFA(user userland.User) (secret string, qrcodeImageBase64 string, err error)
- func (m SimpleProfileService) ListEvents(user userland.User, pagingOptions userland.EventPagingOptions) (userland.Events, int, error)
- func (m SimpleProfileService) Profile(userID int) (userland.User, error)
- func (m SimpleProfileService) ProfileByEmail(email string) (userland.User, error)
- func (m SimpleProfileService) RemoveTFA(user userland.User, currPassword string) error
- func (m SimpleProfileService) RequestChangeEmail(user userland.User, newEmail string) (verificationID string, err error)
- func (m SimpleProfileService) SetProfile(user userland.User) error
- func (m SimpleProfileService) SetProfilePicture(user userland.User, image io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileService ¶
func (ProfileService) ActivateTFA ¶
func (ProfileService) ChangeEmail ¶
func (m ProfileService) ChangeEmail(user userland.User, verificationID string) error
func (ProfileService) ChangePassword ¶
func (m ProfileService) ChangePassword(user userland.User, oldPassword, newPassword string) error
func (ProfileService) DeleteAccount ¶
func (m ProfileService) DeleteAccount(user userland.User, currPassword string) error
func (ProfileService) ListEvents ¶
func (m ProfileService) ListEvents(user userland.User, pagingOptions userland.EventPagingOptions) (userland.Events, int, error)
func (ProfileService) ProfileByEmail ¶
func (m ProfileService) ProfileByEmail(email string) (userland.User, error)
func (ProfileService) RemoveTFA ¶
func (m ProfileService) RemoveTFA(user userland.User, currPassword string) error
func (ProfileService) RequestChangeEmail ¶
func (ProfileService) SetProfile ¶
func (m ProfileService) SetProfile(user userland.User) error
func (ProfileService) SetProfilePicture ¶
type SimpleProfileService ¶
func (SimpleProfileService) ActivateTFA ¶
func (SimpleProfileService) ChangeEmail ¶
func (m SimpleProfileService) ChangeEmail(user userland.User, verificationID string) error
func (SimpleProfileService) ChangePassword ¶
func (m SimpleProfileService) ChangePassword(user userland.User, oldPassword, newPassword string) error
func (SimpleProfileService) DeleteAccount ¶
func (m SimpleProfileService) DeleteAccount(user userland.User, currPassword string) error
func (SimpleProfileService) ListEvents ¶
func (m SimpleProfileService) ListEvents(user userland.User, pagingOptions userland.EventPagingOptions) (userland.Events, int, error)
func (SimpleProfileService) Profile ¶
func (m SimpleProfileService) Profile(userID int) (userland.User, error)
func (SimpleProfileService) ProfileByEmail ¶
func (m SimpleProfileService) ProfileByEmail(email string) (userland.User, error)
func (SimpleProfileService) RemoveTFA ¶
func (m SimpleProfileService) RemoveTFA(user userland.User, currPassword string) error
func (SimpleProfileService) RequestChangeEmail ¶
func (SimpleProfileService) SetProfile ¶
func (m SimpleProfileService) SetProfile(user userland.User) error
func (SimpleProfileService) SetProfilePicture ¶
Click to show internal directories.
Click to hide internal directories.