account

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangePassword

func ChangePassword(ctx *gin.Context)

ChangePassword is a dummy view method

func CompleteSignup added in v1.5.5

func CompleteSignup(ctx *gin.Context)

CompleteSignup is a dummy view method

func Delete

func Delete(ctx *gin.Context)

Delete removes the access token once it is succesful

func GetMajors

func GetMajors(ctx *gin.Context, majors []*views.Major)

GetMajors sets the major list as the response

func GetTranscriptYears

func GetTranscriptYears(ctx *gin.Context, years []*views.TranscriptYear)

GetTranscriptYears sets the curriculum results as the response

func Login

func Login(ctx *gin.Context, id, name string, lastUpdate time.Time)

Login sets the profile data once it is successful

func Logout

func Logout(ctx *gin.Context)

Logout removes the access token once it is successful

func PreSignup added in v1.5.5

func PreSignup(ctx *gin.Context, signupToken string)

PreSignup is a dummy view method

func Profile

func Profile(ctx *gin.Context, user models.User)

Profile sets the profile data once it is successful

func RequestPasswordReset

func RequestPasswordReset(ctx *gin.Context)

RequestPasswordReset is a dummy view method

func ResetPassword

func ResetPassword(ctx *gin.Context)

ResetPassword is a dummy view method

func SearchCurriculum

func SearchCurriculum(ctx *gin.Context, results []*views.CurriculumResult)

SearchCurriculum sets the curriculum results as the response

func SearchTranscript

func SearchTranscript(ctx *gin.Context, results []*views.Record)

SearchTranscript sets the transcript results as the response

func Update

func Update(ctx *gin.Context)

Update is a dummy view method

func VerifyAccount

func VerifyAccount(ctx *gin.Context)

VerifyAccount is a dummy view method

func VerifyEmail

func VerifyEmail(ctx *gin.Context)

VerifyEmail is a dummy view method

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL