NetBurner 3.5.0
PDF Version
 
UserAuthRecord Struct Reference

A stored record of a user's authorization credentials. The value is hashed when saved so it can't be read directly. User's can currently only have one authorization record per user name. More...

#include <UserAuthManager.h>

Public Attributes

NBString m_userName
 The username for the record. This value must be unique across all records.
 
uint8_t m_authHash [WC_SHA256_DIGEST_SIZE]
 The hashed representation of the authentication value.
 
AuthType m_authType
 The type of authentication hashes. Currently supported are keys and passwords.
 
uint32_t m_authLevel
 

Detailed Description

A stored record of a user's authorization credentials. The value is hashed when saved so it can't be read directly. User's can currently only have one authorization record per user name.

Member Data Documentation

◆ m_authLevel

uint32_t UserAuthRecord::m_authLevel

The authorization level granted to this user. This is treated as a bit field, and authorization checks look for specific bits being set.


The documentation for this struct was generated from the following file: