Свойство | Тип | Описание | |
---|---|---|---|
$createTimestamp | object creation timestamp. | ||
$tokenParamKey | key in [[params]] array, which stores token key. | ||
$tokenSecretParamKey | key in [[params]] array, which stores token secret key. |
Метод | Описание | |
---|---|---|
getExpireDuration ( ) : integer | Returns the token expiration duration. | |
getExpireDurationParamKey ( ) : string | ||
getIsExpired ( ) : boolean | Checks if token has expired. | |
getIsValid ( ) : boolean | Checks if token is valid. | |
getParam ( string $name ) : mixed | Returns param by name. | |
getParams ( ) : array | ||
getToken ( ) : string | Returns token value. | |
getTokenSecret ( ) : string | Returns the token secret value. | |
init ( ) | ||
setExpireDuration ( string $expireDuration ) | Sets token expire duration. | |
setExpireDurationParamKey ( string $expireDurationParamKey ) | ||
setParam ( string $name, mixed $value ) | Sets param by name. | |
setParams ( array $params ) | ||
setToken ( string $token ) | Sets token value. | |
setTokenSecret ( string $tokenSecret ) | Sets the token secret value. |
Метод | Описание | |
---|---|---|
defaultExpireDurationParamKey ( ) : string | Fetches default expire duration param key. |
protected defaultExpireDurationParamKey ( ) : string | ||
Результат | string | expire duration param key. |
public getExpireDuration ( ) : integer | ||
Результат | integer | token expiration duration. |
public getExpireDurationParamKey ( ) : string | ||
Результат | string | expire duration param key. |
public getIsExpired ( ) : boolean | ||
Результат | boolean | is token expired. |
public getIsValid ( ) : boolean | ||
Результат | boolean | is token valid. |
public getTokenSecret ( ) : string | ||
Результат | string | token secret value. |
public setExpireDuration ( string $expireDuration ) | ||
$expireDuration | string | token expiration duration. |
public setExpireDurationParamKey ( string $expireDurationParamKey ) | ||
$expireDurationParamKey | string | expire duration param key. |
public setTokenSecret ( string $tokenSecret ) | ||
$tokenSecret | string | token secret. |
public $tokenParamKey |