import 'package:djangoflow_openapi/api.dart';
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
authOtpCreate | POST /api/v1/auth/otp/ | |
authOtpDevicesConfirmCreate | POST /api/v1/auth/otp-devices/{id}/confirm/ | |
authOtpDevicesCreate | POST /api/v1/auth/otp-devices/ | |
authOtpDevicesDestroy | DELETE /api/v1/auth/otp-devices/{id}/ | |
authOtpDevicesList | GET /api/v1/auth/otp-devices/ | |
authOtpDevicesRetrieve | GET /api/v1/auth/otp-devices/{id}/ | |
authSocialConnectCreate | POST /api/v1/auth/social/connect/ | |
authSocialCreate | POST /api/v1/auth/social/ | |
authTokenBlacklistCreate | POST /api/v1/auth/token/blacklist/ | |
authTokenCreate | POST /api/v1/auth/token/ | |
authTokenRefreshCreate | POST /api/v1/auth/token/refresh/ | |
authTokenVerifyCreate | POST /api/v1/auth/token/verify/ | |
authUsersCreate | POST /api/v1/auth/users/ | |
authUsersPartialUpdate | PATCH /api/v1/auth/users/{id}/ | |
authUsersRetrieve | GET /api/v1/auth/users/{id}/ | |
authUsersSetPasswordCreate | POST /api/v1/auth/users/{id}/set-password/ | |
authUsersTwoFaPartialUpdate | PATCH /api/v1/auth/users/{id}/two-fa/ | |
authUsersTwoFaRetrieve | GET /api/v1/auth/users/{id}/two-fa/ |
OTPObtain authOtpCreate(oTPObtainRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final OTPObtainRequest oTPObtainRequest = ; // OTPObtainRequest |
try {
final response = api.authOtpCreate(oTPObtainRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authOtpCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
oTPObtainRequest | OTPObtainRequest | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authOtpDevicesConfirmCreate(id, type, oTPDeviceConfirmRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
final String type = type_example; // String | OTP Device type
final OTPDeviceConfirmRequest oTPDeviceConfirmRequest = ; // OTPDeviceConfirmRequest |
try {
api.authOtpDevicesConfirmCreate(id, type, oTPDeviceConfirmRequest);
} catch on DioError (e) {
print('Exception when calling AuthApi->authOtpDevicesConfirmCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
type | String | OTP Device type | |
oTPDeviceConfirmRequest | OTPDeviceConfirmRequest |
void (empty response body)
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OTPDevice authOtpDevicesCreate(oTPDeviceRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final OTPDeviceRequest oTPDeviceRequest = ; // OTPDeviceRequest |
try {
final response = api.authOtpDevicesCreate(oTPDeviceRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authOtpDevicesCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
oTPDeviceRequest | OTPDeviceRequest |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authOtpDevicesDestroy(id, type)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
final String type = type_example; // String | OTP Device type
try {
api.authOtpDevicesDestroy(id, type);
} catch on DioError (e) {
print('Exception when calling AuthApi->authOtpDevicesDestroy: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
type | String | OTP Device type |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedOTPDeviceList authOtpDevicesList(limit, offset)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final int limit = 56; // int | Number of results to return per page.
final int offset = 56; // int | The initial index from which to return the results.
try {
final response = api.authOtpDevicesList(limit, offset);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authOtpDevicesList: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
limit | int | Number of results to return per page. | [optional] |
offset | int | The initial index from which to return the results. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OTPDevice authOtpDevicesRetrieve(id, type)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
final String type = type_example; // String | OTP Device type
try {
final response = api.authOtpDevicesRetrieve(id, type);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authOtpDevicesRetrieve: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
type | String | OTP Device type |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Token authSocialConnectCreate(socialTokenObtainRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final SocialTokenObtainRequest socialTokenObtainRequest = ; // SocialTokenObtainRequest |
try {
final response = api.authSocialConnectCreate(socialTokenObtainRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authSocialConnectCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
socialTokenObtainRequest | SocialTokenObtainRequest |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Token authSocialCreate(socialTokenObtainRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final SocialTokenObtainRequest socialTokenObtainRequest = ; // SocialTokenObtainRequest |
try {
final response = api.authSocialCreate(socialTokenObtainRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authSocialCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
socialTokenObtainRequest | SocialTokenObtainRequest |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Token authTokenBlacklistCreate(tokenBlacklistRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final TokenBlacklistRequest tokenBlacklistRequest = ; // TokenBlacklistRequest |
try {
final response = api.authTokenBlacklistCreate(tokenBlacklistRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authTokenBlacklistCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
tokenBlacklistRequest | TokenBlacklistRequest |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Token authTokenCreate(tokenObtainRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final TokenObtainRequest tokenObtainRequest = ; // TokenObtainRequest |
try {
final response = api.authTokenCreate(tokenObtainRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authTokenCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
tokenObtainRequest | TokenObtainRequest | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Token authTokenRefreshCreate(tokenRefreshRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final TokenRefreshRequest tokenRefreshRequest = ; // TokenRefreshRequest |
try {
final response = api.authTokenRefreshCreate(tokenRefreshRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authTokenRefreshCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
tokenRefreshRequest | TokenRefreshRequest |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Token authTokenVerifyCreate(tokenVerifyRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final TokenVerifyRequest tokenVerifyRequest = ; // TokenVerifyRequest |
try {
final response = api.authTokenVerifyCreate(tokenVerifyRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authTokenVerifyCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
tokenVerifyRequest | TokenVerifyRequest |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserIdentity authUsersCreate(userIdentityRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final UserIdentityRequest userIdentityRequest = ; // UserIdentityRequest |
try {
final response = api.authUsersCreate(userIdentityRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authUsersCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
userIdentityRequest | UserIdentityRequest | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserIdentity authUsersPartialUpdate(id, patchedUserIdentityRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
final PatchedUserIdentityRequest patchedUserIdentityRequest = ; // PatchedUserIdentityRequest |
try {
final response = api.authUsersPartialUpdate(id, patchedUserIdentityRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authUsersPartialUpdate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
patchedUserIdentityRequest | PatchedUserIdentityRequest | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserIdentity authUsersRetrieve(id)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
try {
final response = api.authUsersRetrieve(id);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authUsersRetrieve: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authUsersSetPasswordCreate(id, changePasswordRequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
final ChangePasswordRequest changePasswordRequest = ; // ChangePasswordRequest |
try {
api.authUsersSetPasswordCreate(id, changePasswordRequest);
} catch on DioError (e) {
print('Exception when calling AuthApi->authUsersSetPasswordCreate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
changePasswordRequest | ChangePasswordRequest |
void (empty response body)
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User2FA authUsersTwoFaPartialUpdate(id, patchedUser2FARequest)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
final PatchedUser2FARequest patchedUser2FARequest = ; // PatchedUser2FARequest |
try {
final response = api.authUsersTwoFaPartialUpdate(id, patchedUser2FARequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authUsersTwoFaPartialUpdate: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
patchedUser2FARequest | PatchedUser2FARequest | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User2FA authUsersTwoFaRetrieve(id)
import 'package:djangoflow_openapi/api.dart';
// TODO Configure HTTP basic authorization: jwtAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getAuthApi();
final String id = id_example; // String |
try {
final response = api.authUsersTwoFaRetrieve(id);
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->authUsersTwoFaRetrieve: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]