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

A fast and easy way to authenticate users with 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.

Response #

{
    "status": "success", 
    "message": "Session created successfully", 
    "data": 
        {
            "app": "ziqx", 
            "createdAt": 1668996733300, 
            "isVerified": true, 
            "token":token,
            "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
100
pub points
0%
popularity

Publisher

verified publisherziqx.in

A fast and easy way to authenticate users with Ziqx Auth

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_inappwebview, http

More

Packages that depend on ziqx_auth