odds_account_sdk 1.0.0-dev.3 copy "odds_account_sdk: ^1.0.0-dev.3" to clipboard
odds_account_sdk: ^1.0.0-dev.3 copied to clipboard

Odds client side account authentication and authorization SDK

Odds client side account authentication and authorization SDK.

Features #

OddsHorizon client side account SDK.

Getting started #

Add dependency #

odds_account_sdk: ^1.0.0-dev.3

Usage #

import 'package:odds_account_sdk/client.dart';

then you can create a client instance to handle user register or login.

final client = OddsAccountClient.authing("authing_user_pool_id", "authing_app_id");

final registerResult = await client.registerByUserName("username", "password");
if (!registerResult.isSuccess()) {
// error handling
}

now, if register or login success, you can put the AuthInfo.idToken into grpc's metadata to access odds services.

registerResult.idToken
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Odds client side account authentication and authorization SDK

Homepage
Repository

License

unknown (LICENSE)

Dependencies

authing_sdk, flutter, json_annotation

More

Packages that depend on odds_account_sdk