PHP 클래스 OneLogin_Saml_XmlSec

파일 보기 프로젝트 열기: onelogin/php-saml 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_document DomDocument The document to be tested.
$_settings OneLogin_Saml_Settings A SamlResponse class provided to the constructor.

공개 메소드들

메소드 설명
__construct ( OneLogin_Saml_Settings $settings, OneLogin_Saml_Response $response ) Construct the SamlXmlSec object.
isValid ( ) : boolean
validateNumAssertions ( ) : boolean Verify that the document only contains a single Assertion
validateTimestamps ( ) : boolean Verify that the document is still valid according

메소드 상세

__construct() 공개 메소드

Construct the SamlXmlSec object.
public __construct ( OneLogin_Saml_Settings $settings, OneLogin_Saml_Response $response )
$settings OneLogin_Saml_Settings A SamlResponse settings object containing the necessary x509 certicate to test the document.
$response OneLogin_Saml_Response The document to test.

isValid() 공개 메소드

public isValid ( ) : boolean
리턴 boolean

validateNumAssertions() 공개 메소드

Verify that the document only contains a single Assertion
public validateNumAssertions ( ) : boolean
리턴 boolean TRUE if the document passes.

validateTimestamps() 공개 메소드

Verify that the document is still valid according
public validateTimestamps ( ) : boolean
리턴 boolean

프로퍼티 상세

$_document 보호되어 있는 프로퍼티

The document to be tested.
protected DomDocument $_document
리턴 DomDocument

$_settings 보호되어 있는 프로퍼티

A SamlResponse class provided to the constructor.
protected OneLogin_Saml_Settings $_settings
리턴 OneLogin_Saml_Settings