authing 0.2.0 copy "authing: ^0.2.0" to clipboard
authing: ^0.2.0 copied to clipboard

Authing dart sdk for flutter and dart Apps, you can gently auth to your App with Authing.

example/main.dart

import 'package:authing/authing.dart';

final String pool = '5e0489a3b6cbc91087ac82ae';
final String user = '5e048b98b6cbc957baac8c94';
final String role = '5e048ad3b6cbc953a0ac88f7';

main() async {
	Options opts = Options(
		userPoolId: '5e0489a3b6cbc91087ac82ae',
		secret: 'fd5ba7fa24036a33e9c85630c2e02b75',
	);
	
	/// init authing client
	Authing authing = Authing(opts);

  /// handle res
	var res = await authing.queryInvitationState(
    client: pool,
	);
	
	if (res.hasErrors){
    print(res.errors);
  } else {
    print(res.data);
  }
}
0
likes
35
points
57
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Authing dart sdk for flutter and dart Apps, you can gently auth to your App with Authing.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

encrypt, graphql, meta, pointycastle

More

Packages that depend on authing