feat: Initial commit

This commit is contained in:
Pascal Bourque
2025-05-25 11:03:21 -04:00
commit ff0163043a
50 changed files with 15156 additions and 0 deletions

16
src/api/MysaSession.ts Normal file
View File

@@ -0,0 +1,16 @@
/**
* Interface representing an authenticated Mysa user session.
*
* Contains the authentication tokens and user information required to make authorized API calls to the Mysa service.
* These tokens are typically obtained through the login process and used for subsequent API requests.
*/
export interface MysaSession {
/** The username/email address of the authenticated user */
username: string;
/** JWT identity token containing user identity information */
idToken: string;
/** JWT access token used for authorizing API requests */
accessToken: string;
/** JWT refresh token used to obtain new access tokens when they expire */
refreshToken: string;
}