• TokenInfo
  • TokenInfo Class

    (nymeaserver::TokenInfo)

    This class holds information about an authentication token. More...

    Header: #include <TokenInfo>

    Public Functions

    TokenInfo(const QUuid & id, const QString & username, const QDateTime & creationTime, const QString & deviceName)
    QDateTime creationTime() const
    QString deviceName() const
    QUuid id() const
    QString username() const

    Detailed Description

    This class holds information about an authentication token.

    The TokenInfo class holds information about a token used for authentication in the UserManager.

    See also TokenInfo and PushButtonDBusService.

    Member Function Documentation

    TokenInfo::TokenInfo(const QUuid & id, const QString & username, const QDateTime & creationTime, const QString & deviceName)

    Constructs a new token info with the given id, username, creationTime and deviceName.

    QDateTime TokenInfo::creationTime() const

    Returns the creation time of this TokenInfo.

    QString TokenInfo::deviceName() const

    Returns the device name of this TokenInfo.

    QUuid TokenInfo::id() const

    Returns the id of this TokenInfo.

    QString TokenInfo::username() const

    Returns the userename of this TokenInfo.