|
openDAQ
Open data acquisition platform
|
Collaboration diagram for Factories:Functions | |
| AuthenticationProviderPtr | AuthenticationProvider () |
| Creates a default authentication provider with only anonymous authentication allowed. | |
| AuthenticationProviderPtr | AuthenticationProvider (Bool allowAnonymous) |
| Creates an empty authentication provider without any user. More... | |
| AuthenticationProviderPtr | StaticAuthenticationProvider (Bool allowAnonymous, const ListPtr< IUser > &users) |
| Creates an authentication provider out of static list of users. More... | |
| AuthenticationProviderPtr | JsonFileAuthenticationProvider (const StringPtr &filename) |
| Creates an authentication provider out of static json file. More... | |
| AuthenticationProviderPtr | JsonStringAuthenticationProvider (const StringPtr &jsonString) |
| Creates an authentication provider out of static json string. More... | |
| UserPtr | User (const StringPtr &username, const StringPtr &passwordHash, const ListPtr< IString > groups=nullptr) |
| Creates a immutable user object with provided arguments. More... | |
|
inline |
Creates an empty authentication provider without any user.
| allowAnonymous | True if anonymous authentication is allowed. |
|
inline |
Creates an authentication provider out of static json file.
| filename | File path to json file contianung a list of user objects. |
|
inline |
Creates an authentication provider out of static json string.
| jsonString | List of users and their groups encoded as json string. |
|
inline |
Creates an authentication provider out of static list of users.
| allowAnonymous | True if anonymous authentication is allowed. |
| users | List of user objects. |
|
inline |
Creates a immutable user object with provided arguments.
| username | Username of a user. |
| passwordHash | the user's password, which can either be in plain text or hashed using the Bcrypt algorithm. Hashed passwords should follow the Modular Crypt Format. For security purposes, hashed passwords are preferred. |
| groups | The list of group IDs which the user belongs to. |