Jetpack_Signature::__construct PHP Method

__construct() public method

public __construct ( $access_token, $time_diff )
    function __construct($access_token, $time_diff = 0)
    {
        $secret = explode('.', $access_token);
        if (2 != count($secret)) {
            return;
        }
        $this->token = $secret[0];
        $this->secret = $secret[1];
        $this->time_diff = $time_diff;
    }