Fresh dist
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-02-02 16:14:10 +01:00
parent e996375677
commit ad90844846
43 changed files with 270 additions and 267 deletions

View File

@@ -6,10 +6,10 @@ class AuthService {
/**
* Login
* Login with your username/email and password. <br> You will receive:
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* @param requestBody CreateAuth
* @result any
* @returns any
* @throws ApiError
*/
static async authControllerLogin(requestBody) {
@@ -24,7 +24,7 @@ class AuthService {
* Logout
* Logout using your refresh token. <br> This instantly invalidates all your access and refresh tokens.
* @param requestBody HandleLogout
* @result any
* @returns any
* @throws ApiError
*/
static async authControllerLogout(requestBody) {
@@ -38,10 +38,10 @@ class AuthService {
/**
* Refresh
* Refresh your access and refresh tokens using a valid refresh token. <br> You will receive:
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* @param requestBody RefreshAuth
* @result any
* @returns any
* @throws ApiError
*/
static async authControllerRefresh(requestBody) {
@@ -57,7 +57,7 @@ class AuthService {
* Request a password reset token. <br> This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}.
* @param locale
* @param requestBody CreateResetToken
* @result ResponseEmpty
* @returns ResponseEmpty
* @throws ApiError
*/
static async authControllerGetResetToken(locale, requestBody) {
@@ -76,7 +76,7 @@ class AuthService {
* Reset a user's utilising a valid password reset token. <br> This will set the user's password to the one you provided in the body. <br> To get a reset token post to /api/auth/reset with your username.
* @param token
* @param requestBody ResetPassword
* @result any
* @returns any
* @throws ApiError
*/
static async authControllerResetPassword(token, requestBody) {