lyon1casclient 1.0.8 copy "lyon1casclient: ^1.0.8" to clipboard
lyon1casclient: ^1.0.8 copied to clipboard

A Dart library that provides authentication with the CAS (Central Authentication Service) system of Lyon 1 University (https://cas.univ-lyon1.fr).

example/lyon1casclient_example.dart

import 'package:lyon1casclient/lyon1casclient.dart';

void main() async {
  final Lyon1CasClient auth = Lyon1CasClient();
  final bool isAuthenticated =
      (await auth.authenticate(Credential("p1234567", "a_valid_password")))
          .authResult;
  if (!isAuthenticated) {
    print("You are not authenticated. Please check your username and password");
    return;
  }
}
0
likes
120
pub points
31%
popularity

Publisher

unverified uploader

A Dart library that provides authentication with the CAS (Central Authentication Service) system of Lyon 1 University (https://cas.univ-lyon1.fr).

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

beautiful_soup_dart, copy_with_extension, equatable, hive, http, requests_plus

More

Packages that depend on lyon1casclient