openDAQ
Open data acquisition platform
IUserInternal Struct Referenceabstract

Internal User interface. It should be used only in openDAQ core implementation files. More...

+ Inheritance diagram for IUserInternal:
+ Collaboration diagram for IUserInternal:

Detailed Description

Internal User interface. It should be used only in openDAQ core implementation files.

Public Member Functions

virtual ErrCode INTERFACE_FUNC getPasswordHash (IString **passwordHash)=0
 Returns 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. More...
 
virtual ErrCode INTERFACE_FUNC isAnonymous (Bool *anonymous)=0
 Returns true if user is anonymous. Anonymous user is any user without defined username and passowrd. More...
 
- Public Member Functions inherited from IBaseObject
virtual ErrCode INTERFACE_FUNC borrowInterface (const IntfID &intfID, void **obj) const =0
 Returns another interface which is supported by the object without incrementing the reference count. More...
 
virtual ErrCode INTERFACE_FUNC dispose ()=0
 Disposes all references held by the object. More...
 
virtual ErrCode INTERFACE_FUNC getHashCode (SizeT *hashCode)=0
 Returns hash code of the object. More...
 
virtual ErrCode INTERFACE_FUNC equals (IBaseObject *other, Bool *equal) const =0
 Compares object to another object for equality. More...
 
virtual ErrCode INTERFACE_FUNC toString (CharPtr *str)=0
 Returns a string representation of the object. More...
 
- Public Member Functions inherited from IUnknown
virtual ErrCode INTERFACE_FUNC queryInterface (const IntfID &intfID, void **obj)=0
 Returns another interface which is supported by the object and increments the reference count. More...
 
virtual int INTERFACE_FUNC addRef ()=0
 Increments the reference count for an interface on an object. More...
 
virtual int INTERFACE_FUNC releaseRef ()=0
 Decrements the reference count for an interface on an object. More...
 

Member Function Documentation

◆ getPasswordHash()

virtual ErrCode INTERFACE_FUNC getPasswordHash ( IString **  passwordHash)
pure virtual

Returns 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.

Parameters
passwordHash[out]Returns the user's password, which can either be in plain text or hashed using the Bcrypt algorithm.

◆ isAnonymous()

virtual ErrCode INTERFACE_FUNC isAnonymous ( Bool *  anonymous)
pure virtual

Returns true if user is anonymous. Anonymous user is any user without defined username and passowrd.

Parameters
anonymous[out]Returns true if user is anonymous.