PHP Class New_Device_Notification, vip-mu-plugins-public

************************************************************************* Plugin Name: New Device Notification Description: Uses a cookie to identify new devices that are used to log in. On new device detection, an e-mail is sent. This provides some basic improved security against compromised accounts. Author: Automattic VIP Team Author URI: http://vip.wordpress.com/ Version: 2.0 License: GPLv2 ************************************************************************
Afficher le fichier Open project: Automattic/vip-mu-plugins-public

Méthodes publiques

Свойство Type Description
$cookie_hash
$cookie_name 1 week
$grace_period This is to get all of the normal users into the logs and avoid spamming inboxes.

Méthodes publiques

Méthode Description
__construct ( )
get_standard_message ( $user_obj, $args )
is_user_from_valid_ip ( $ip )
maybe_send_email ( $send_email, $user_info )
notify_of_new_device ( )
set_cookie ( )
start ( )
verify_cookie ( )

Method Details

__construct() public méthode

public __construct ( )

get_standard_message() public méthode

public get_standard_message ( $user_obj, $args )

is_user_from_valid_ip() public méthode

public is_user_from_valid_ip ( $ip )

maybe_send_email() public méthode

public maybe_send_email ( $send_email, $user_info )

notify_of_new_device() public méthode

start() public méthode

public start ( )

Property Details

$grace_period public_oe property

This is to get all of the normal users into the logs and avoid spamming inboxes.
public $grace_period