src/Security/RememberLoginHash.php
public static function clear(Member $member, $alcDevice = null)
    {
        if (!$member->exists()) {
            return;
        }
        $filter = array('MemberID'=>$member->ID);
        if (!static::config()->logout_across_devices && $alcDevice) {
            $filter['DeviceID'] = $alcDevice;
        }
        RememberLoginHash::get()
            ->filter($filter)
            ->removeAll();
    }
public static function clear(Member $member, $alcDevice = null)
    {
        if (!$member->exists()) {
            return;
        }
        $filter = array('MemberID'=>$member->ID);
        if (!static::config()->logout_across_devices && $alcDevice) {
            $filter['DeviceID'] = $alcDevice;
        }
        RememberLoginHash::get()
            ->filter($filter)
            ->removeAll();
    }
public static function clear ( Member $ member , $ alcDevice = null ) { if ( ! $ member -> exists ( ) ) { return ; } $ filter = array ( 'MemberID' => $ member -> ID ) ; if ( ! static :: config ( ) -> logout_across_devices && $ alcDevice ) { $ filter [ 'DeviceID' ] = $ alcDevice ; } RememberLoginHash :: get ( ) -> filter ( $ filter ) -> removeAll ( ) ; }
Deletes existing tokens for this member
if logout_across_devices is true, all tokens are deleted, otherwise
only the token for the provided device ID will be removed

@param Member $member
@param string $alcDevice
Deletes existing tokens for this member if logout_across_devices is true all tokens are deleted otherwise only the token for the provided device ID will be removed