blob: 785b2c21245bd30d599297d1c451ff47604f1b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--TEST--
Check Lasso Login
--SKIPIF--
<?php if (!extension_loaded("lasso")) print "skip"; ?>
--FILE--
<?php
lasso_init();
$server = lasso_server_new("../examples/sp.xml",
"../examples/rsapub.pem",
"../examples/rsakey.pem",
"../examples/sacert.pem", lassoSignatureMethodRsaSha1);
$login = lasso_login_new($server);
var_dump($login);
lasso_login_destroy($login);
var_dump($login);
lasso_shutdown();
?>
--EXPECT--
DEBUG: lasso_init
DEBUG: lasso_server_new
DEBUG: lasso_login_new
resource(5) of type (LASSO Login Resource)
DEBUG: lasso_login_destroy
resource(5) of type (Unknown)
DEBUG: lasso_shutdown
|