/** * Get the current access token for the session. * * If the session does not have an active access token, an exception will be thrown. * * @throws \LucaDegasperi\OAuth2Server\Exceptions\NoActiveAccessTokenException * @return \League\OAuth2\Server\Entity\AccessTokenEntity * @static */ public static function getAccessToken() { return \LucaDegasperi\OAuth2Server\Authorizer::getAccessToken(); }