PHP 클래스 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 ************************************************************************
파일 보기 프로젝트 열기: Automattic/vip-mu-plugins-public

공개 프로퍼티들

프로퍼티 타입 설명
$cookie_hash
$cookie_name 1 week
$grace_period This is to get all of the normal users into the logs and avoid spamming inboxes.

공개 메소드들

메소드 설명
__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 ( )

메소드 상세

__construct() 공개 메소드

public __construct ( )

get_standard_message() 공개 메소드

public get_standard_message ( $user_obj, $args )

is_user_from_valid_ip() 공개 메소드

public is_user_from_valid_ip ( $ip )

maybe_send_email() 공개 메소드

public maybe_send_email ( $send_email, $user_info )

notify_of_new_device() 공개 메소드

start() 공개 메소드

public start ( )

프로퍼티 상세

$grace_period 공개적으로 프로퍼티

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