Skip to content

AuthApi ​

All URIs are relative to http://localhost

MethodHTTP requestDescription
generateNewApiKeyPATCH /auth/profile/apikeyUpdate ApiKey
isAuthenticatedGET /auth/authenticatedCheck Authentication
loginPOST /auth/loginLogin User
logoutPOST /auth/logoutLogout User
logoutByDeleteDELETE /auth/logoutLogout User
refreshTokenGET /auth/token/refreshRefresh User
updatePasswordPATCH /auth/profile/passwordUpdate Password
userProfileGET /auth/profileUser Profile

generateNewApiKey ​

JsonValue_String generateNewApiKey()

Update ApiKey

Generate new ApiKey of logged in User

Parameters ​

This endpoint does not need any parameter.

Return type ​

JsonValue_String

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

isAuthenticated ​

JsonValue_Boolean isAuthenticated()

Check Authentication

Check a given Login for is authenticated

Parameters ​

This endpoint does not need any parameter.

Return type ​

JsonValue_Boolean

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

login ​

LoginResult login(Login)

Login User

Login for one user and return Login Information

Parameters ​

NameTypeDescriptionNotes
LoginLoginLogin Information for your Users

Return type ​

LoginResult

Authorization ​

No authorization required

HTTP request headers ​

  • Content-Type: application/json
  • Accept: application/json, text/plain

logout ​

JsonValue_Boolean logout()

Logout User

Logout by bearer Token

Parameters ​

This endpoint does not need any parameter.

Return type ​

JsonValue_Boolean

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

logoutByDelete ​

JsonValue_Boolean logoutByDelete()

Logout User

Logout by bearer Token

Parameters ​

This endpoint does not need any parameter.

Return type ​

JsonValue_Boolean

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

refreshToken ​

LoginResult refreshToken()

Refresh User

Refresh Token and return Login Information

Parameters ​

This endpoint does not need any parameter.

Return type ​

LoginResult

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

updatePassword ​

JsonValue_Boolean updatePassword(PasswordUpdateRequest)

Update Password

Change Password of logged in User

Parameters ​

NameTypeDescriptionNotes
PasswordUpdateRequestPasswordUpdateRequest

Return type ​

JsonValue_Boolean

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: application/json
  • Accept: application/json, text/plain

userProfile ​

UserProfile userProfile()

User Profile

Return the User Profile of loggedin user

Parameters ​

This endpoint does not need any parameter.

Return type ​

UserProfile

Authorization ​

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers ​

  • Content-Type: Not defined
  • Accept: application/json

Released under the Apache License 2.0.