FullAuthKey
trait FullAuthKey
A trait for getting a serialized user key with both the ID and auth key
Methods
static FullAuthKey|null
TryLoadByFullKey(ObjectDatabase $database, string $code, Account|null $account = null)
Tries to load an AuthObject by the full serialized key - DOES NOT CheckFullKey()!
bool
CheckFullKey(string $code)
Checks the given full/serialized key for validity, returns result
string
GetFullKey()
Gets the full serialized key value for the user
Details
at line 130
static FullAuthKey|null
TryLoadByFullKey(ObjectDatabase $database, string $code, Account|null $account = null)
Tries to load an AuthObject by the full serialized key - DOES NOT CheckFullKey()!
at line 144
bool
CheckFullKey(string $code)
Checks the given full/serialized key for validity, returns result
at line 157
string
GetFullKey()
Gets the full serialized key value for the user
The serialized string contains both the key ID and key value