A user's security question.
WHMCS provides a method for administrators and clients to provide greater security to their accounts by answering a security question upon login. This object models a single security question. The security question's answer is stored encrypted in the client's record.
|int||$id||A security question's unique id.|
|string||$question||A security question's contents.|
|Carbon||$createdAt||The date a security question was created.|
|Carbon||$updatedAt||The date a security question was last updated.|
|Client||$clients||The clients that must answer this security question upon login.|
|Return Type||Method Name||Description|
|string||getQuestionAttribute(string $question)||Decrypt security questions from storage.|
|setQuestionAttribute(string $question)||Encrypt security questions for storage.|
|HasMany||clients()||A security question may be in use by many clients.|
getQuestionAttribute (string $question)
Decrypt security questions from storage.
setQuestionAttribute (string $question)
Encrypt security questions for storage.
A security question may be in use by many clients.