ReadonlyconfigReadonlycurrentLoad the saved ChRIS URL from storage.
The URL or null if not found.
Save the ChRIS URL to storage.
The URL to save.
True if successful, false otherwise.
Set the current user and ChRIS URL context.
The username.
Optionalurl: string
Optional ChRIS URL.
Initialize the connection configuration. Loads last user and ChRIS URL from storage.
Load the last logged-in user from storage.
The username or null if not found.
Save the last logged-in user to storage.
The username to save.
True if successful, false otherwise.
Convert a URI to a directory-safe string.
The URI to convert.
A string safe for use as a directory name.
Staticinstance_Get the singleton instance of ConnectionConfig.
The storage provider to use.
Optionaloptions: ConnectionConfigOptions
Optional configuration options.
A promise resolving to the ConnectionConfig instance.
Manages configuration for connecting to a ChRIS instance. Handles storage of user credentials, URLs, and context directories.