import 'package:bind_api/api.dart';All URIs are relative to https://api.thebind.uk/v1
| Method | HTTP request | Description |
|---|---|---|
| whoAmI | GET /auth/whoami/ | Who am I |
User whoAmI()
Who am I
Main method to get information about current authenticated User
import 'package:bind_api/api.dart';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
final api = BindApi().getAuthApi();
try {
final response = api.whoAmI();
print(response);
} catch on DioError (e) {
print('Exception when calling AuthApi->whoAmI: $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]