Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. $attributes = $session->getAttributes();
  2. /*
  3.  * The attributes variable now contains all the attributes. So this variable is basicly all you need to perform integration in
  4.  * your PHP application.
  5.  *
  6.  * To debug the content of the attributes variable, do something like:
  7.  *
  8.  * print_r($attributes);
  9.  *
  10.  */
  11.  include('domain/user.php');
  12.  $u = new User();
  13.  $u->setUserName($attributes['userName'][0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement