Property | Type | Description | |
---|---|---|---|
$createTimestamp | object creation timestamp. | ||
$tokenParamKey | key in [[params]] array, which stores token key. | ||
$tokenSecretParamKey | key in [[params]] array, which stores token secret key. |
Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
defaultExpireDurationParamKey ( ) : string | Fetches default expire duration param key. |
protected defaultExpireDurationParamKey ( ) : string | ||
return | string | expire duration param key. |
public getExpireDuration ( ) : integer | ||
return | integer | token expiration duration. |
public getExpireDurationParamKey ( ) : string | ||
return | string | expire duration param key. |
public getIsExpired ( ) : boolean | ||
return | boolean | is token expired. |
public getIsValid ( ) : boolean | ||
return | boolean | is token valid. |
public getTokenSecret ( ) : string | ||
return | 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 |