AMWD.Net.Api.HiOrgServer 0.0.1-9
HiOrg Server API
Implementation of the HiOrg Server API for EFS and SSO.
Implemented Methods
SSO (Single Sign On)
The login via HiOrg Server is implemented with use of a remote endpoint which returns the token send by the HiOrg Server.
string ov = "your-org";
string token = "your-api-token";
string username = "SomeUsername";
string password = "VerySecurePassword";
using var client = new HiOrgServerClient(ov, token, new ClientOptions
{
// 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"
});
var userData = await client.LoginAsync(username, password);
await client.LogoutAsync(userData.SessionToken);
// TODO: Perform actions with the user data (and session token if not logged out).
EFS (Einsatz-Führungs-Software)
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).
No packages depend on AMWD.Net.Api.HiOrgServer.