PHP Класс OneLogin_Saml2_AuthnRequest

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_settings OneLogin_Saml2_Settings Object that represents the setting info

Открытые методы

Метод Описание
__construct ( OneLogin_Saml2_Settings $settings, boolean $forceAuthn = false, boolean $isPassive = false, boolean $setNameIdPolicy = true ) Constructs the AuthnRequest object.
getId ( ) : string Returns the AuthNRequest ID.
getRequest ( boolean | null $deflate = null ) Returns deflated, base64 encoded, unsigned AuthnRequest.

Описание методов

__construct() публичный Метод

Constructs the AuthnRequest object.
public __construct ( OneLogin_Saml2_Settings $settings, boolean $forceAuthn = false, boolean $isPassive = false, boolean $setNameIdPolicy = true )
$settings OneLogin_Saml2_Settings Settings
$forceAuthn boolean When true the AuthNReuqest will set the ForceAuthn='true'
$isPassive boolean When true the AuthNReuqest will set the Ispassive='true'
$setNameIdPolicy boolean When true the AuthNReuqest will set a nameIdPolicy

getId() публичный Метод

Returns the AuthNRequest ID.
public getId ( ) : string
Результат string

getRequest() публичный Метод

Returns deflated, base64 encoded, unsigned AuthnRequest.
public getRequest ( boolean | null $deflate = null )
$deflate boolean | null Whether or not we should 'gzdeflate' the request body before we return it.

Описание свойств

$_settings защищенное свойство

Object that represents the setting info
protected OneLogin_Saml2_Settings $_settings
Результат OneLogin_Saml2_Settings