ziqx_auth 0.0.2 copy "ziqx_auth: ^0.0.2" to clipboard
ziqx_auth: ^0.0.2 copied to clipboard

outdated

A fast and easy way to authenticate users with Ziqx Auth

Ziqx Auth #

This package is a simple 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
    }

);
// Once the user is authenticated, you can get the user details as response.

Response #

{
    "status": "success", 
    "message": "Session created successfully", 
    "data": 
        {
            "app": "ziqx", 
            "createdAt": 1668996733300, 
            "isVerified": true, 
            "userId":uid,
            "key": "p66dx5lq3yar"
        }
}

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.

2
likes
0
points
3
downloads

Publisher

verified publisherziqx.in

Weekly Downloads

A fast and easy way to authenticate users with Ziqx Auth

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_custom_tabs, http

More

Packages that depend on ziqx_auth