Last updated:
0 purchases
lyon1examenclient
🚀 lyon1examenClient #
A Dart library that provides seamless integration with Lyon 1 University's exam service, leveraging the Lyon 1 CAS (Central Authentication Service) system for user authentication.
✨ Features #
Authenticate users with Lyon 1 CAS credentials using the lyon1casclient library.
Fetch and retrieve exam information from Lyon 1 University's exam service.
Designed for easy integration with Lyon 1 CAS, allowing a streamlined authentication process.
⚙️ Installation #
Add the following dependencies to your project's pubspec.yaml file:
dependencies:
lyon1casclient: any
lyon1examenclient: any
copied to clipboard
🔒 Usage #
Start by importing the necessary libraries:
import 'package:lyon1casclient/lyon1casclient.dart';
import 'package:lyon1examenclient/lyon1examenclient.dart';
copied to clipboard
Register adapters for Lyon1CasClient:
Lyon1CasClient.registerAdapters();
copied to clipboard
Authenticate the user using Lyon1CasClient:
final lyon1Cas = Lyon1CasClient();
lyon1Cas.authenticate(Credential("username", "password"));
copied to clipboard
Initialize Lyon1ExamenClient with the authenticated Lyon1CasClient:
final examClient = Lyon1ExamenClient(lyon1Cas);
copied to clipboard
Fetch and print exam information:
final exams = await examClient.fetchExams();
for (var exam in exams) {
print(exam);
}
copied to clipboard
Make sure to replace "username" with the actual Lyon 1 CAS username and "password" with the corresponding password.
🌍 Community and Support #
For questions, bug reports, or feature requests related to lyon1examenClient, please visit the lyon1examenClient GitHub repository. Contributions and feedback are always welcome!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.