0 purchases
ziqx auth
Ziqx Auth #
Simple and minimal authentication package for Ziqx Auth.
You can use this package to authenticate users in your application.
You must get the API key and get your app registered with Ziqx Ecosystem to use this package.
Usage #
import 'package:ziqx_auth/ziqx_auth.dart';
ZiqxAuth.authenticate(
context: context,
api: API_KEY,
app: APP_NAME,
onSuccess: (res) {
// Do something with the response
},
onError: (err) {
// Do something with the error
},
toolBarColor: Colors.black
);
// Once the user is authenticated, you can get the user details as response.
copied to clipboard
Response #
{
"status": "success",
"message": "Session created successfully",
"data":
{
"app": "ziqx",
"createdAt": 1668996733300,
"isVerified": true,
"token":token,
"key": "p66dx5lq3yar"
}
}
copied to clipboard
That's All
Ziqx is meant for simplicity and ease of use. We are trying to make it as simple as possible. We are open to suggestions and contributions. Feel free to open an issue or a pull request.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.