utils/session_utils library

Functions

fetchStatusUrl(String sessionId) Future<StatusUrlResponse>
Fetches the status URL for a given session ID
initSession(String providerId, String appId, String timestamp, String signature) Future<InitSessionResponse>
Initializes a session with the provided parameters @param providerId - The ID of the provider @param appId - The ID of the application @param timestamp - The timestamp of the request @param signature - The signature for authentication @returns A Future that resolves to an InitSessionResponse @throws InitSessionError if the session initialization fails
updateSession(String sessionId, SessionStatus status) Future<UpdateSessionResponse>
Updates the status of an existing session