public function associateRefreshToken($accessTokenId, $refreshToken, $expireTime, $clientId)
    {
        DB::table('oauth_session_refresh_tokens')->insert(array(
            'session_access_token_id' => $accessTokenId,
            'refresh_token'           => $refreshToken,
            'refresh_token_expires'   => $expireTime,
            'client_id'               => $clientId,
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now()
        ));
    }
public function associateRefreshToken($accessTokenId, $refreshToken, $expireTime, $clientId)
    {
        DB::table('oauth_session_refresh_tokens')->insert(array(
            'session_access_token_id' => $accessTokenId,
            'refresh_token'           => $refreshToken,
            'refresh_token_expires'   => $expireTime,
            'client_id'               => $clientId,
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now()
        ));
    }
public function associateRefreshToken ( $ accessTokenId , $ refreshToken , $ expireTime , $ clientId ) { DB :: table ( 'oauth_session_refresh_tokens' ) -> insert ( array ( 'session_access_token_id' => $ accessTokenId , 'refresh_token' => $ refreshToken , 'refresh_token_expires' => $ expireTime , 'client_id' => $ clientId , 'created_at' => Carbon :: now ( ) , 'updated_at' => Carbon :: now ( ) ) ) ; }
Associate a refresh token with a session

Example SQL query:

<code>
INSERT INTO oauth_session_refresh_tokens (session_access_token_id, refresh_token, refresh_token_expires,
client_id) VALUE (:accessTokenId, :refreshToken, :expireTime, :clientId)
</code>

@param  int    $accessTokenId The access token ID
@param  string $refreshToken  The refresh token
@param  int    $expireTime    Unix timestamp of the refresh token expiry time
@param  string $clientId      The client ID
@return void
Associate a refresh token with a session