Lines Matching refs:we
103 Since [PHP 5.3 is officially unsupported](http://php.net/eol.php) we recommend you to use a newer P…
179 …we highly recommended to register on the settings the IdP certificate instead of using the fingerp…
202 Or also we can provide those data in the setting file at the `$settings['sp']['x509cert']`
205 Sometimes we could need a signature on the metadata published by the SP, in
206 this case we could use the x509 cert previously mentioned or use a new x509
252 Currently there are no translations but we will eventually localize the messages
282 First of all we need to configure the toolkit. The SP's info, the IdP's info,
288 * Use a `settings.php` file that we should locate at the base folder of the
316 // Service Provider Data that we are deploying.
361 // the certs folder. But we can also provide them with the following parameters
375 // Identity Provider Data that we want connected with our SP.
405 * validate a SAMLResponse, but we don't recommend to use that
582 But if we provide a `$deflate` boolean parameter to the `getRequest` or `getResponse` method it wil…
589 Once we know what kind of data could be configured, let's talk about the way
609 array available as we see in the following example:
634 After that line we will be able to use the classes (and their methods) of the
669 …mer Service of the SP with this information. If we do not set a `'url'` param in the login method …
684 * `$strict` - True if we want to stay (returns the url string) False to redirect
706 This code will provide the XML metadata file of our SP, based on the info that we provided in the s…
743 to get the settings object and with the true parameter we will avoid the IdP Settings validation.
819 1. If no `RelayState` is provided, we could show the user data in this view
820 or however we wanted.
824 Notice that we saved the user data in the session before the redirection to
830 In order to retrieve attributes we can use:
836 With this method we get all the user data provided by the IdP in the Assertion
839 If we execute ```print_r($attributes)``` we could get:
883 returned. For example, if we call to `getAttributes` before a
991 If we don't want that `processSLO` to destroy the session, pass a true
1020 * `$stay` - True if we want to stay (returns the url string) False to redirect.
1030 If we do not set a `'url'` param in the logout method and are using the
1087 Note: Review the `demo1` folder that contains that use case; in a later section we
1093 session_start(); // Initialize the session, we do that because
1140 if (isset($_SESSION['samlUserdata'])) { // If there is user data we print it.
1153 } else { // If there is not user data, we notify
1218 When the PHP application is behind a proxy or a load balancer we can execute `setProxyVars(true)` a…
1322 that we defined in our SSO Request.
1522 * Use a `settings.php` file that we should locate at the base folder of the
1526 In this demo we provide the data in the second way, using a setting array named
1553 2.1 in the first link, we access to (`index.php?sso`) an `AuthNRequest`
1554 is sent to the IdP, we authenticate at the IdP and then a Response is sent
1559 2.2 in the second link we access to (`attrs.php`) have the same process
1563 is not valid, the process stops here and a message is shown. Otherwise we
1567 At this point, we can test the single log out functionality.
1597 * Use a `settings.php` file that we should locate at the base folder of the
1606 In this case as Attribute Consume Service and Single Logout Service we are going to
1618 In demo1, we saw how all the SAML Request and Responses were handler at an
1621 In demo2, we have several views: `index.php`, `sso.php`, `slo.php`, `consume.php`
1622 and `metadata.php`. As we said, we will use the endpoints that are defined
1637 the process stops here and a message is shown. Otherwise we are redirected
1639 user is logged and redirects to `index.php`, so we will be in the
1643 At this point, we can test the single log out functionality.
1648 we are redirected to the `slo.php` view and there a Logout Request is sent
1700 `getAttributes()` we obtain them.
1702 Since the version 1 of the php toolkit does not support SLO we don't show how