Dynalib Utils
Public Member Functions | List of all members
SecurityToken Class Reference

This class will store a digitally-signed token, where it contains identifying information that matches the logon credentials of the user. If the token has not expired, and the information matches, the user is granted the permissions encoded in the signed token. This class holds the information and provides the basic methods for checking it. More...

#include <SecurityToken.h>

Public Member Functions

 SecurityToken ()=default
 
virtual ~SecurityToken ()=default
 
bool isValid ()
 
bool isPermitted (uint32_t actions)
 

Detailed Description

This class will store a digitally-signed token, where it contains identifying information that matches the logon credentials of the user. If the token has not expired, and the information matches, the user is granted the permissions encoded in the signed token. This class holds the information and provides the basic methods for checking it.

The main actions secured by this token allow the user set/clear the flags on the particular Thing, which would allow various options to be adjusted, particularly for accessing the node tree below the secured node.

Constructor & Destructor Documentation

◆ SecurityToken()

SecurityToken::SecurityToken ( )
default

◆ ~SecurityToken()

virtual SecurityToken::~SecurityToken ( )
virtualdefault

Member Function Documentation

◆ isPermitted()

bool SecurityToken::isPermitted ( uint32_t  actions)

◆ isValid()

bool SecurityToken::isValid ( )

The documentation for this class was generated from the following files: