![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/laminas/laminas-oauth/src/Token/ |
<?php namespace Laminas\OAuth\Token; use Laminas\Http\Response as HTTPResponse; use Laminas\OAuth\Http\Utility as HTTPUtility; interface TokenInterface { /** * Retrieve an arbitrary named parameter from the token * * @param string $name * @return mixed */ public function getParam($name); /** * Retrieve the response object this token is operating on * * @return HTTPResponse */ public function getResponse(); /** * Retrieve the token value * * @return string */ public function getToken(); /** * Retrieve the Token's secret, for use with signing requests * * @return string */ public function getTokenSecret(); /** * Set the Token's signing secret. * * @param string $secret * @return Laminas\OAuth\Token */ public function setTokenSecret($secret); /** * Validate the Token against the HTTP Response * * @return boolean */ public function isValid(); /** * Convert token to a raw-encoded query string * * @return string */ public function toString(); /** * Cast Token to string representation; should proxy to toString() * * @return string */ public function __toString(); }