Last updated:
0 purchases
lb auth
Logbot Auth SDK for Flutter #
This is a package for authentication and authorization to the Logbot platform and APIs.
This Dart package is automatically generated by the OpenAPI Generator project:
API version: 1.0.0
Build package: org.openapitools.codegen.languages.DartClientCodegen
Requirements #
Dart 2.17 or later
Installation & Usage #
Add the dependencies from pub.dev:
dependencies:
lb_auth:
copied to clipboard
lb_auth is always required to make authorized calls to the APIs.
To use the SDK on you application see the example below:
import 'package:lb_auth/lb_auth.dart';
class Example {
Future<void> run() async {
/// Initialize Logbot SDK by logging in with Logbot Credentials
await LogbotAuth.init(LogbotCredentials(
username: username,
password: password,
clientId: clientId,
clientSecret: clientSecret,
));
}
}
copied to clipboard
Tests #
To run all tests:
flutter test
copied to clipboard
Documentation for API Endpoints #
All URIs are relative to https://iam.logbotiot.cloud
Class
Method
HTTP request
Description
AuthApi
loginOrRefresh
GET /auth/realms/master/protocol/openid-connect/token
Login or refresh token
Documentation For Models #
AuthenticationResponse
Author #
Logbot SRL [email protected]
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.