lyon1casclient 1.0.8 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;
}
}