public function setCachedToken($key, $refreshToken, $expiresAt = null)
    {
        if (is_null($expiresAt)) {
            $expiresAt =  ((int) Config::get('laravel_jwt.cache_ttl') / 60);
        }
        Cache::put($key, $refreshToken, $expiresAt);
        $this->cachedToken = $refreshToken;

        return $this;
    }
public function setCachedToken($key, $refreshToken, $expiresAt = null)
    {
        if (is_null($expiresAt)) {
            $expiresAt =  ((int) Config::get('laravel_jwt.cache_ttl') / 60);
        }
        Cache::put($key, $refreshToken, $expiresAt);
        $this->cachedToken = $refreshToken;

        return $this;
    }
public function setCachedToken ( $ key , $ refreshToken , $ expiresAt = null ) { if ( is_null ( $ expiresAt ) ) { $ expiresAt = ( ( int ) Config :: get ( 'laravel_jwt.cache_ttl' ) / 60 ) ; } Cache :: put ( $ key , $ refreshToken , $ expiresAt ) ; $ this -> cachedToken = $ refreshToken ; return $ this ; }
Set cached token.

@return this
Set cached token .