PHP Class OneLogin_Saml_AuthRequest

Show file Open project: onelogin/php-saml Class Usage Examples

Protected Properties

Property Type Description
$auth object

Public Methods

Method Description
__construct ( array | object $settings ) Constructs the OneLogin_Saml2_Auth, initializing the SP SAML instance.
getRedirectUrl ( string | null $returnTo = null ) : string Obtains the SSO URL containing the AuthRequest message deflated.

Protected Methods

Method Description
_generateUniqueID ( ) : string
_getTimestamp ( ) : string

Method Details

__construct() public method

Constructs the OneLogin_Saml2_Auth, initializing the SP SAML instance.
public __construct ( array | object $settings )
$settings array | object SAML Toolkit Settings

_generateUniqueID() protected method

protected _generateUniqueID ( ) : string
return string

_getTimestamp() protected method

protected _getTimestamp ( ) : string
return string

getRedirectUrl() public method

Obtains the SSO URL containing the AuthRequest message deflated.
public getRedirectUrl ( string | null $returnTo = null ) : string
$returnTo string | null
return string

Property Details

$auth protected property

object
protected $auth