🚀New lib version v0.13.1 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-02-02 15:19:00 +00:00
parent ad90844846
commit 9b6d686d93
45 changed files with 271 additions and 274 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
* @returns any
* @result 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
* @returns any
* @result 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
* @returns any
* @result 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
* @returns ResponseEmpty
* @result 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
* @returns any
* @result any
* @throws ApiError
*/
static async authControllerResetPassword(token, requestBody) {