Generates the metadata of the SP based on the settings
public static builder ( array $sp, boolean | string $authnsign = false, boolean | string $wsign = false, DateTime | null $validUntil = null, integer | null $cacheDuration = null, array $contacts = [], array $organization = [], array $attributes = [] ) : string | ||
$sp | array | The SP data |
$authnsign | boolean | string | authnRequestsSigned attribute |
$wsign | boolean | string | wantAssertionsSigned attribute |
$validUntil | DateTime | null | Metadata's valid time |
$cacheDuration | integer | null | Duration of the cache in seconds |
$contacts | array | Contacts info |
$organization | array | Organization ingo |
$attributes | array | |
return | string | SAML Metadata XML |