public function deleteSession($clientId, $ownerType, $ownerId)
    {
        DB::table('oauth_sessions')
            ->where('client_id', $clientId)
            ->where('owner_type', $ownerType)
            ->where('owner_id', $ownerId)
            ->delete();
    }
public function deleteSession($clientId, $ownerType, $ownerId)
    {
        DB::table('oauth_sessions')
            ->where('client_id', $clientId)
            ->where('owner_type', $ownerType)
            ->where('owner_id', $ownerId)
            ->delete();
    }
public function deleteSession ( $ clientId , $ ownerType , $ ownerId ) { DB :: table ( 'oauth_sessions' ) -> where ( 'client_id' , $ clientId ) -> where ( 'owner_type' , $ ownerType ) -> where ( 'owner_id' , $ ownerId ) -> delete ( ) ; }
Delete a session

Example SQL query:

<code>
DELETE FROM oauth_sessions WHERE client_id = :clientId AND owner_type = :type AND owner_id = :typeId
</code>

@param  string $clientId  The client ID
@param  string $ownerType The type of the session owner (e.g. "user")
@param  string $ownerId   The ID of the session owner (e.g. "123")
@return void
Delete a session