isAuthenticated() public method

public isAuthenticated ( ) : boolean
return boolean if a valid user was fetched from the saml assertion this request.
Example #1
0
 public function testIsAuthenticated()
 {
     $auth = m::mock('OneLogin_Saml2_Auth');
     $saml2 = new Saml2Auth($auth);
     $auth->shouldReceive('isAuthenticated')->andReturn('return');
     $this->assertEquals('return', $saml2->isAuthenticated());
 }
 /**
  * 
  *
  * @return bool if a valid user was fetched from the saml assertion this request.
  * @static 
  */
 public static function isAuthenticated()
 {
     return \Aacotroneo\Saml2\Saml2Auth::isAuthenticated();
 }