public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function setSalt($salt)
public function setSalt($salt)
Parameters
$salt |
Return
wild |
public function getSalt()
public function getSalt()
Return
wild |
public function setSecret($secret)
public function setSecret($secret)
Parameters
PhutilOpaqueEnvelope | $secret |
Return
wild |
public function getSecret()
public function getSecret()
Return
wild |
public function newSalt()
public function newSalt()
Return
wild |
public function newToken()
public function newToken()
Return
wild |
public function isValidToken($token)
public function isValidToken($token)
Parameters
$token |
Return
wild |
private function newRawToken($salt, $offset)
private function newRawToken($salt, $offset)
Parameters
$salt | ||
$offset |
Return
wild |
private function getBREACHPrefix()
private function getBREACHPrefix()
Return
wild |
private function getSaltLength()
private function getSaltLength()
Return
wild |
private function getTokenLength()
private function getTokenLength()
Return
wild |
private function getCycleFrequency()
private function getCycleFrequency()
Return
wild |
private function getWindowOffsets()
private function getWindowOffsets()
Return
wild |