PHP Класс SAML2\AuthnRequestTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

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

Метод Описание
testExtensionOrdering ( ) Test unmarshalling / marshalling of XML with Extensions element
testIDPlistAttributes ( ) Test for setting IDPEntry values via setIDPList.
testMarshallingOfSimpleRequest ( )
testRequesterIdIsAddedCorrectly ( ) Test setting a requesterID.
testRequesterIdIsReadCorrectly ( ) Test setting a requesterID.
testThatAnEncryptedNameIdCanBeDecrypted ( )
testThatAnEncryptedNameIdResultsInTheCorrectXmlStructure ( ) Due to the fact that the symmetric key is generated each time, we cannot test whether or not the resulting XML matches a specific XML, but we can test whether or not the resulting structure is actually correct, conveying all information required to decrypt the NameId.
testThatTheSubjectCanBeSetBySettingTheNameId ( )
testThatTheSubjectIsCorrectlyRead ( )
testUnmarshalling ( )

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

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

Test unmarshalling / marshalling of XML with Extensions element

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

Tests legacy support (single string), array of attributes, and skipping of unknown attributes.

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

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

Test setting a requesterID.

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

Test setting a requesterID.

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

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

Due to the fact that the symmetric key is generated each time, we cannot test whether or not the resulting XML matches a specific XML, but we can test whether or not the resulting structure is actually correct, conveying all information required to decrypt the NameId.

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

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

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

public testUnmarshalling ( )