Created
October 8, 2014 16:59
-
-
Save twmills/7649e6abbb4642b6cec3 to your computer and use it in GitHub Desktop.
authentication example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$method = "post"; | |
$path = "/presta/index.php"; | |
$params = $_POST; | |
$json_body = http_get_request_body(); | |
$authenticator = new ShippingEasy_Authenticator($method, $path, $params, $json_body); | |
$authenticator->isAuthenticated(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment