thread_signin

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

thread signin

thread_signin package #
Get AccessToken Using Thread API https://pub.dev/packages/thread_signin
Getting Started #
Add Package dependency
thread_signin: ^1.0.0+2
copied to clipboard
or
$ flutter pub add thread_signin
copied to clipboard
How to use #

// create required params
var params = ThreadSignInParams(
clientId: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
clientSecret: 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
redirectUrl: 'http://localhost:3000/auth/thread/callback',
scopes: 'threads_basic',
);

// Push [ThreadSigninScreen] to perform login then get the [ThreadSignInResponse]
Navigator.of(context).push(MaterialPageRoute(builder: (builder) {
return ThreadSigninScreen(
params: params,
title: '',
);
})).then((value) {

});

copied to clipboard
Showcase #

Contributing #
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Fork the Project
Create your Feature Branch (git checkout -b feature/AmazingFeature)
Commit your Changes (git commit -m 'Add some AmazingFeature')
Push to the Branch (git push origin feature/AmazingFeature)
Open a Pull Request

License #
Distributed under the MIT License. See LICENSE for more information.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.