Gradebook Backend API Documentation - v0.0.1
Preparing search index...
auth/auth.controller
AuthController
Class AuthController
Index
Constructors
constructor
Methods
change
Email
forgot
Password
get
Me
login
register
reset
Password
Constructors
constructor
new
AuthController
(
authService
:
AuthService
)
:
AuthController
Parameters
authService
:
AuthService
Returns
AuthController
Methods
change
Email
changeEmail
(
body
:
ChangeEmailDto
)
:
Promise
<
{
message
:
string
;
token
:
string
}
>
Parameters
body
:
ChangeEmailDto
Returns
Promise
<
{
message
:
string
;
token
:
string
}
>
forgot
Password
forgotPassword
(
body
:
ForgotPasswordDto
)
:
Promise
<
{
message
:
string
}
>
Parameters
body
:
ForgotPasswordDto
Returns
Promise
<
{
message
:
string
}
>
get
Me
getMe
(
req
:
any
,
)
:
{
email
:
any
;
firstName
:
any
;
image
:
any
;
lastName
:
any
;
role
:
any
}
Parameters
req
:
any
Returns
{
email
:
any
;
firstName
:
any
;
image
:
any
;
lastName
:
any
;
role
:
any
}
login
login
(
body
:
LoginDto
)
:
Promise
<
{
token
:
string
}
>
Parameters
body
:
LoginDto
Returns
Promise
<
{
token
:
string
}
>
register
register
(
body
:
RegisterDto
)
:
Promise
<
{
message
:
string
}
>
Parameters
body
:
RegisterDto
Returns
Promise
<
{
message
:
string
}
>
reset
Password
resetPassword
(
body
:
ResetPasswordDto
)
:
Promise
<
{
message
:
string
}
>
Parameters
body
:
ResetPasswordDto
Returns
Promise
<
{
message
:
string
}
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
change
Email
forgot
Password
get
Me
login
register
reset
Password
Gradebook Backend API Documentation - v0.0.1
Loading...