📄️ Authentication in services
See also: Authentication and USoft
📄️ USoft authentication for services
The USoft authentication scheme is based on Basic Authentication. Basic Authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header in following format:
📄️ SAML authentication
SAML(Security Assertion Markup Language) is an open standard for exchanging authentication information between an identity provider (IdP) and a service provider (SP). That means that you can use one set of credentials to log into many different websites, and to accomplish web browser single sign-on (SSO).
📄️ Anonymous authentication
Anonymous authentication gives you anonymous access to a website or web API, without prompting for a user name or password.
📄️ Cookie-based authentication
Cookie-based authentication uses HTTP cookies to authenticate client requests and maintain session information. USoft Service Framework usees Cookie authentication if the Session expiration seconds field of the connection used to connect to the rule service has a value bigger than 0.
📄️ logout()
When developing authentication functionality, you may want to discard a session, that is, logout from the session. To do this, you can either log out from an individual connection or log out from all the sessions that are currently active. Logging out from all the sessions causes all cookies associated with the service to expire. The response that is returned contains the expired cookies.