17 lines
278 B
PHP
17 lines
278 B
PHP
<?php
|
|
|
|
/**
|
|
* Subclass for representing a row from the 'st_security_token' table.
|
|
*
|
|
*
|
|
*
|
|
* @package plugins.stSecurityPlugin.lib.model
|
|
*/
|
|
class SecurityToken extends BaseSecurityToken
|
|
{
|
|
public function isValid()
|
|
{
|
|
return $this->expire_at > time();
|
|
}
|
|
}
|