Implementation of the HiOrg Server API for EFS and SSO.
The login via HiOrg Server is implemented with use of a remote endpoint which returns the token send by the HiOrg Server.
stringov="your-org";stringtoken="your-api-token";stringusername="SomeUsername";stringpassword="VerySecurePassword";usingvarclient=newHiOrgServerClient(ov,token,newClientOptions{// On success the HiOrg Server will redirect to this URL with a query parameter "token" containing the login token// Here: https://your-server.tld/get-token?token=<session token>LoginTokenUrl="https://your-server.tld/get-token"});varuserData=awaitclient.LoginAsync(username,password);awaitclient.LogoutAsync(userData.SessionToken);// TODO: Perform actions with the user data (and session token if not logged out).Welcome to a german company... where everything is in german -.-'
If you want to corporate with HiOrg on your medical service, you can connect your application using an API token.
You'll have access to the following functionallity:
VerifyApiToken: Verify the validity of the given API token.GetEvents: Get a list of all upcoming events (if they are enabled for the API).GetEventDetails: Get detailed information about a specific event part, including the list of employees and their roles.GetEquipment: Get a list of available equipment (not planned for an event).
Published under MIT License (see choose a license).