import 'package:dart_sdk/api.dart';All URIs are relative to https://api.techcell.cloud
| Method | HTTP request | Description |
|---|---|---|
| authControllerConfirmEmail | POST /api/auth/email/confirm | |
| authControllerForgotPassword | POST /api/auth/forgot/password | |
| authControllerGetMe | GET /api/auth/me | |
| authControllerLogin | POST /api/auth/email/login | |
| authControllerLogout | POST /api/auth/logout | |
| authControllerRefresh | POST /api/auth/refresh | |
| authControllerRegister | POST /api/auth/email/register | |
| authControllerResendConfirmEmail | POST /api/auth/email/resend-confirm | |
| authControllerResetPassword | POST /api/auth/reset/password | |
| authControllerUpdateMe | PATCH /api/auth/me | |
| authFacebookControllerLogin | POST /api/auth/facebook/login | |
| authGoogleControllerLogin | POST /api/auth/google/login |
authControllerConfirmEmail(authConfirmEmailDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final authConfirmEmailDto = AuthConfirmEmailDto(); // AuthConfirmEmailDto |
try {
api_instance.authControllerConfirmEmail(authConfirmEmailDto);
} catch (e) {
print('Exception when calling AuthApi->authControllerConfirmEmail: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authConfirmEmailDto | AuthConfirmEmailDto |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authControllerForgotPassword(authForgotPasswordDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final authForgotPasswordDto = AuthForgotPasswordDto(); // AuthForgotPasswordDto |
try {
api_instance.authControllerForgotPassword(authForgotPasswordDto);
} catch (e) {
print('Exception when calling AuthApi->authControllerForgotPassword: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authForgotPasswordDto | AuthForgotPasswordDto |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User authControllerGetMe()
import 'package:dart_sdk/api.dart';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = AuthApi();
try {
final result = api_instance.authControllerGetMe();
print(result);
} catch (e) {
print('Exception when calling AuthApi->authControllerGetMe: $e\n');
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoginResponseDto authControllerLogin(authEmailLoginDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final authEmailLoginDto = AuthEmailLoginDto(); // AuthEmailLoginDto |
try {
final result = api_instance.authControllerLogin(authEmailLoginDto);
print(result);
} catch (e) {
print('Exception when calling AuthApi->authControllerLogin: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authEmailLoginDto | AuthEmailLoginDto |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authControllerLogout()
import 'package:dart_sdk/api.dart';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = AuthApi();
try {
api_instance.authControllerLogout();
} catch (e) {
print('Exception when calling AuthApi->authControllerLogout: $e\n');
}This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RefreshTokenResponseDto authControllerRefresh(refreshTokenDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final refreshTokenDto = RefreshTokenDto(); // RefreshTokenDto |
try {
final result = api_instance.authControllerRefresh(refreshTokenDto);
print(result);
} catch (e) {
print('Exception when calling AuthApi->authControllerRefresh: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| refreshTokenDto | RefreshTokenDto |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authControllerRegister(authSignupDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final authSignupDto = AuthSignupDto(); // AuthSignupDto |
try {
api_instance.authControllerRegister(authSignupDto);
} catch (e) {
print('Exception when calling AuthApi->authControllerRegister: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authSignupDto | AuthSignupDto |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authControllerResendConfirmEmail(resendConfirmEmail)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final resendConfirmEmail = ResendConfirmEmail(); // ResendConfirmEmail |
try {
api_instance.authControllerResendConfirmEmail(resendConfirmEmail);
} catch (e) {
print('Exception when calling AuthApi->authControllerResendConfirmEmail: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| resendConfirmEmail | ResendConfirmEmail |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authControllerResetPassword(authResetPasswordDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final authResetPasswordDto = AuthResetPasswordDto(); // AuthResetPasswordDto |
try {
api_instance.authControllerResetPassword(authResetPasswordDto);
} catch (e) {
print('Exception when calling AuthApi->authControllerResetPassword: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authResetPasswordDto | AuthResetPasswordDto |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
authControllerUpdateMe(authUpdateDto)
import 'package:dart_sdk/api.dart';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = AuthApi();
final authUpdateDto = AuthUpdateDto(); // AuthUpdateDto |
try {
api_instance.authControllerUpdateMe(authUpdateDto);
} catch (e) {
print('Exception when calling AuthApi->authControllerUpdateMe: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authUpdateDto | AuthUpdateDto |
void (empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoginResponseDto authFacebookControllerLogin(authFacebookLoginDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final authFacebookLoginDto = AuthFacebookLoginDto(); // AuthFacebookLoginDto |
try {
final result = api_instance.authFacebookControllerLogin(authFacebookLoginDto);
print(result);
} catch (e) {
print('Exception when calling AuthApi->authFacebookControllerLogin: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authFacebookLoginDto | AuthFacebookLoginDto |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoginResponseDto authGoogleControllerLogin(authGoogleLoginDto)
import 'package:dart_sdk/api.dart';
final api_instance = AuthApi();
final authGoogleLoginDto = AuthGoogleLoginDto(); // AuthGoogleLoginDto |
try {
final result = api_instance.authGoogleControllerLogin(authGoogleLoginDto);
print(result);
} catch (e) {
print('Exception when calling AuthApi->authGoogleControllerLogin: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| authGoogleLoginDto | AuthGoogleLoginDto |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]