Through this API you can authenticate user credentials and thereby gain access to the available suite of APIs
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen For more information, please visit https://www.authenticateis.com
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import authenticate_account
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import authenticate_account
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import authenticate_account
from authenticate_account.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = authenticate_account.AccountsApi(authenticate_account.ApiClient(configuration))
body = authenticate_account.ForgottenPasswordDto() # ForgottenPasswordDto | (optional)
try:
api_instance.api_v1_accounts_forgotten_password_post(body=body)
except ApiException as e:
print("Exception when calling AccountsApi->api_v1_accounts_forgotten_password_post: %s\n" % e)
# create an instance of the API class
api_instance = authenticate_account.AccountsApi(authenticate_account.ApiClient(configuration))
body = authenticate_account.AuthenticationDto() # AuthenticationDto | (optional)
try:
# Logon to the Authenticate platform using credentials of a platform user account
api_response = api_instance.api_v1_accounts_login_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountsApi->api_v1_accounts_login_post: %s\n" % e)
# create an instance of the API class
api_instance = authenticate_account.AccountsApi(authenticate_account.ApiClient(configuration))
body = authenticate_account.RenewalDto() # RenewalDto | (optional)
try:
# Refresh an expired JWT using a pre-prepared refresh token
api_response = api_instance.api_v1_accounts_refresh_token_post(body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountsApi->api_v1_accounts_refresh_token_post: %s\n" % e)
# create an instance of the API class
api_instance = authenticate_account.AccountsApi(authenticate_account.ApiClient(configuration))
body = authenticate_account.ResetPasswordDto() # ResetPasswordDto | (optional)
try:
api_instance.api_v1_accounts_reset_password_post(body=body)
except ApiException as e:
print("Exception when calling AccountsApi->api_v1_accounts_reset_password_post: %s\n" % e)
All URIs are relative to /
Class | Method | HTTP request | Description |
---|---|---|---|
AccountsApi | api_v1_accounts_forgotten_password_post | POST /api/v1/Accounts/ForgottenPassword | |
AccountsApi | api_v1_accounts_login_post | POST /api/v1/Accounts/Login | Logon to the Authenticate platform using credentials of a platform user account |
AccountsApi | api_v1_accounts_refresh_token_post | POST /api/v1/Accounts/RefreshToken | Refresh an expired JWT using a pre-prepared refresh token |
AccountsApi | api_v1_accounts_reset_password_post | POST /api/v1/Accounts/ResetPassword |
- AuthResult
- AuthResultResponse
- AuthenticationDto
- ForgottenPasswordDto
- ProblemDetails
- RenewalDto
- ResetPasswordDto
All endpoints do not require authorization.