PHP Class Aacotroneo\Saml2\Http\Controllers\Saml2Controller

Inheritance: extends Illuminate\Routing\Controller
Exibir arquivo Open project: aacotroneo/laravel-saml2

Protected Properties

Property Type Description
$saml2Auth

Public Methods

Method Description
__construct ( Saml2Auth $saml2Auth )
acs ( ) Process an incoming saml2 assertion request.
login ( ) This initiates a login request
logout ( Illuminate\Http\Request $request ) This initiates a logout request across all the SSO infrastructure.
metadata ( ) : Illuminate\Http\Response Generate local sp metadata
sls ( ) Process an incoming saml2 logout request.

Method Details

__construct() public method

public __construct ( Saml2Auth $saml2Auth )
$saml2Auth Aacotroneo\Saml2\Saml2Auth injected.

acs() public method

Fires 'saml2.loginRequestReceived' event if a valid user is Found
public acs ( )

login() public method

This initiates a login request
public login ( )

logout() public method

This initiates a logout request across all the SSO infrastructure.
public logout ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

metadata() public method

Generate local sp metadata
public metadata ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

sls() public method

Fires 'saml2.logoutRequestReceived' event if its valid. This means the user logged out of the SSO infrastructure, you 'should' log him out locally too.
public sls ( )

Property Details

$saml2Auth protected_oe property

protected $saml2Auth