NetBurner 3.5.0
PDF Version
 
Authorization Responses

Enumerations

enum  AuthResponse : int16_t {
  eAuthSuccess = 1 , eAuthErrorUserExists = -1 , eAuthErrorUserDoesNotExist = -2 , eAuthErrorNoEmptyUserAuthRecords = -3 ,
  eAuthErrorUnableToCreateHash = -4 , eAuthErrorAuthCheckFailed = -5 , eAuthErrorAuthTypeMismatch = -6 , eAuthErrorFailedRecordUpdate = -7 ,
  eAuthErrorUnableToAddUser = -8 , eAuthErrorSaveFailed = -9
}
 Response return codes when checking for the authorization status of a user. More...
 

Detailed Description

Enumeration Type Documentation

◆ AuthResponse

enum AuthResponse : int16_t

#include <UserAuthManager.h>

Response return codes when checking for the authorization status of a user.

Enumerator
eAuthSuccess 

The authorization request or function was successful.

eAuthErrorUserExists 

The user already exists.

eAuthErrorUserDoesNotExist 

The user does not exist.

eAuthErrorNoEmptyUserAuthRecords 

The authorization records are full.

eAuthErrorUnableToCreateHash 

There was an error hashing the authorization value.

eAuthErrorAuthCheckFailed 

The authorization check failed.

eAuthErrorAuthTypeMismatch 

The authorization type didn't match the request.

eAuthErrorFailedRecordUpdate 

The record update failed.

eAuthErrorUnableToAddUser 

The user was not added successfully.

eAuthErrorSaveFailed 

Unable to save user authorization records.