<?php

return [

    sha1('https://authstack') => [
        'baseUrl' => 'https://www.authstack.co.uk',

        // EntityId of IdP
        'EntityId'      => 'https://authstack',

        // Single Sign On service URL and binding. Binding can be Redirect (GET method) or POST
        'SSO' => [
            'url' => '/saml2.0/sso',
            'binding' => \LightSaml\SamlConstants::BINDING_SAML2_HTTP_POST
        ],

        'SLO' => [
            'url'   => '/saml2.0/slo',
            'binding' => \LightSaml\SamlConstants::BINDING_SAML2_HTTP_POST
        ],

        // IdP's public key, saved as encoded x.509 certificate
        'x509' => 'MIIEHzCCAwegAwIBAgIJAM8jEAWFZSqCMA0GCSqGSIb3DQEBCwUAMIGlMQswCQYDVQQGEwJIUjERMA8GA1UECAwISHJ2YXRza2ExDzANBgNVBAcMBlphZ3JlYjEVMBMGA1UECgwMQnVja2hpbGwgTHRkMSEwHwYDVQQLDBhSZXNlYXJjaCBhbmQgRGV2ZWxvcG1lbnQxEjAQBgNVBAMMCU5pa29sYSBCLjEkMCIGCSqGSIb3DQEJARYVbmlrb2xhQGJ1Y2toaWxsLmNvLnVrMB4XDTE2MDEwNzE2MTU1OVoXDTI2MDEwNjE2MTU1OVowgaUxCzAJBgNVBAYTAkhSMREwDwYDVQQIDAhIcnZhdHNrYTEPMA0GA1UEBwwGWmFncmViMRUwEwYDVQQKDAxCdWNraGlsbCBMdGQxITAfBgNVBAsMGFJlc2VhcmNoIGFuZCBEZXZlbG9wbWVudDESMBAGA1UEAwwJTmlrb2xhIEIuMSQwIgYJKoZIhvcNAQkBFhVuaWtvbGFAYnVja2hpbGwuY28udWswggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDOEsQeMmLOaYQ6uIj14IejQP809WichslptUKWShQ/Rl/10GkHGKfS+gHRmcFpv7Ywgo3Cv8XOcQPJKw8xk7yDMfTetE+qbugQgbAK2xWkQx3J/5aQXx0KQdbp/hfHv78LrrSt5aaQs7Z+RJJ6v93tdo2/hs+mdXMEU6mo92lAcHwrpohNA9eYi/EtrW4Dt2tFJYVjKUlxMF5ER7il8OFG0Xu8Nzt0+jlfR21MLmf1ZlYweLnUB8BWh2Gw1WctuIpM9/Hk8p1ygrz4gm249fSqCQXvkSLN5nzqAykPMqEVH4pGzsXOFn+OSB2F1uL7rcmN4GRt8VSOqo34qbpdSJ0tAgMBAAGjUDBOMB0GA1UdDgQWBBQvDnmwB1zWoCEj75NX9Z5GaqnzMzAfBgNVHSMEGDAWgBQvDnmwB1zWoCEj75NX9Z5GaqnzMzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCKMf+7nl/gMneE6B34fpMB4ptpaTjNPrcljmJSNJ+Q2CWpgYKSMz9XahaHte4qDfsMD8kW445/2EHMnNBwU/qpzxf32reD+pqs87fw7OWk020J/n8f24jy/F0yByY6XwQVcFxYJuU7H1IpFGi4h8UXGwewvYcwiXlsGFyhSq8HTdTjyIje2mvMuHZZXrJjkWFF9yMpmUqayoh4BlviqXIsjlIWIXaJ40xdidMqHuVpJ7Eg2nRVwEGV3RDHH36pndsYCtBJ004P9g5qabQJASmHlYZURJxDIZ8rKI4WjHhmbPTaEgsjJkqb1KnQLuYSWSb4Xkhx1/3nAT3QozqQRXYC',

        // If true, then service provider signs the requests so that IdP can prove the authenticity of message origin
        'wantsSignedRequests' => true,

        // Upper time boundary (not AFTER 1 minute)
        'upper'     => '+1 minute',

        // Lower time boundary (not BEFORE 1 minute)
        'lower'     => '-1 minute',

        'keys' => [

            // Keypair used for signing purposes
            'signing' => [

                // X.509 certificate
                // This is base64 encoded value, WITHOUT the ---BEGIN PUBLIC KEY---
                'x509' => <<<EOF
MIIEEDCCAvigAwIBAgIJAIfobjSZS5HNMA0GCSqGSIb3DQEBCwUAMIGcMQswCQYD
VQQGEwJIUjERMA8GA1UECAwISHJ2YXRza2ExDzANBgNVBAcMBlphZ3JlYjEUMBIG
A1UECgwLY2toaWxsIEx0ZC4xFDASBgNVBAsMC0RldmVsb3BtZW50MRowGAYDVQQD
DBFodHRwczovL2F1dG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sxfh3/gmYyUTK/4gh/m+DVgREqZ79tvY4K5pRUJ8pFI47co3q4Q
VMy+/TiCOc1R2g1Pstz/xDIbQBPJsypAo1kZw8Bl22DtcEy1He5hkRd0WisUt/qJ
389P/L0pZc2/S36BLDMqyPxKpgd3ck6UTQm5RCWg2Kc6gK3v
EOF
                ,

                // Value of private key
                'private' => <<<EOF
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFHDBOBgkqhkiG9w0BBQ0wQTApBgkqhkiG9w0BBQwwHAQI9DY+t4lMWwgCAggA
MAwGCCqGSIb3DQIJBQAwFAYIKoZIhvcNAwcECNgzhVE7Gb8yBIIEyBhecVCmfkvX
V3pr1C/1cmYlGRh/f2D8wa2s5St0Ct6ty594PIhaYMJSZ555rj/buaBTAhxN2YZk
Mvl0D1kahOvK9BeSEzpiKY/k1uxjS0B+4g0kqEvOd/q5tstdp7DliHm4oqvZic7B
ixcC/U5+FxBChyVC32y8bhvLGbiQFP3O3wNgiS8wQCFSm2LqtD4yUxPCB/DYUUm5
xV6IyTfiADpO/L2TGRZxlDV/5xoobBwMCavu9M5RJV46E4exJgirJJZjVLAfJvNr
5J+hHZZkZ97UQjd1JoNDyto1R3imfzxzjBm+N5g1tSswq7OaqpCKhpOYah/wOtxt
0hjWdrT3tAzedIK/97nRseitLWls+K67h7CYzvteAf5KHbz2eokF/4Pw+50ZVuMr
xzLNBaw3XuNz6cdiefWCTTORUyXy9ywOJ462rEzVr4B9pdNR/WX75WnrMZcpKqMv
sGj9FjHJ/6a1J81bzM18ee2mmSvaFHAOPHdOkFU4dDCDI34l+UudGf2ceC+0CISK
E2nu5Npkq9+jYvjZ42vWwjY7nzlrwgRIXTdTZvjVUJcSySTJtHOKpvmkBeYn3A12
8+q4L10vAueX1yq2AMUzFWcDeS7k6uzqiqtGlWAHm/NehMsMhk6IZLbUbee2DLzA
LZIr4hgd2aK9l9SHgEAPPcv+27Ck37/TXcmhzZhXMMiPCBU1njRBCelfC+GEaQyG
X+mGCh45LDCsj8ma/dbuMQyzCxQR3Po0NW0++viK4gzNtu90OQgzpzsPP4HnON0F
2CnTNPLQ4iMfVWB+Vh4IAlyBbV8ZFtM9AtJsRe9eNkZJXOzocYS5Sv8t48rWRkRv
tDGrDQvncXkHQXsb1fia4X2qFlik/8Hs1U8sGj8sDwpyHnhPnrWda39z12D2n28j
BP43I1Nfh4Z3xaLUPtutR4wkooEy6Hic0U8HZ9R/r4GrKSMxPihRjO1pDB4V1y0f
oe1shgK4JMR62+ederHUq/a7I+ygkVsqcWRggo9wpA6UGMLD0ZKPo5eLmFPjpFdK
mDUg5vFKmlTFN2tg1AeMuHvNW3CpLvVf7DIuzFSmBpFpDQ7eRxrijR3GfxGmEX20
Z9klu495Tix0+BW0SSi+CH1V/ZJjXMs7eYJovb1UI4Om3pnIC0K8SmXS1cd5QfDM
UUJMRR2gHK9JuDmWIohQDDuG99kS1V3TzYXtaEyJCSDa+l/lKmyTBvDo3zIzf1eO
kS/DGrV/j32cE+7jWf5coc6f+BdbqZ1UdEa6qnNJBOJLAK07Nd6bAQkA3zzc20WE
djxXRjPawrI0AAs7qj12BoSKe2G1YkWxYjLkM5LLUVYI189Arh62eurNCSM3LakT
V9eIKU0fEr4p/jvVUu/ltIcP+/fJAe+5/+gqAua9h1KekKYiFMs8uxgkhuneK5l3
WWAh7AEoTR2tJ9522nLhSZLzUzYez3qRq5RkEz11Canf6a+K730VGTEoER9uXBfo
mTFegX9sfOK9AwIC373A/0xQ5jAI/ujS/vLfbx7ozoTJUeGEmnI2OGavN4CqRvcc
WGlMDy2F0s1q6JONep51leKeGI1UTMyRHgYaPKQb7tIKPN3v0TPk/gFToC1vPn9R
jvRWZcoN8NNfqNLAa+S3RA==
-----END ENCRYPTED PRIVATE KEY-----
EOF
                ,

                // Passphrase for the private key, if any
                'passphrase' => 'test',

                // Hash function for signature algorithm
                'algorithm' => \RobRichards\XMLSecLibs\XMLSecurityKey::RSA_SHA256
            ],

            // Keypair used for encrypting assertions
            'encryption' => [

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Af8EBTADAQH/
MA0GCSqGSIb3DQEBCwUAA4IBAQA5ZbhW4Fj0GA9w6eUN5sudUzLXnWnhVd9T7Ihc
UWfqRRRSEGpO4Bm1qXzhRvbwhW7qYcPzjEK4k+EHPcIOmKn9b4TtbMmgjHavR1t5
gV0ap98o8BKG8XP4k/tHA91jQtiLp7mfzuHaeYQXrL3vLYAvj5Bv7XSOEI8GpbF5
XwQGLhuqVEPNcsxfh3/gmYyUTK/4gh/m+DVgREqZ79tvY4K5pRUJ8pFI47co3q4Q
VMy+/TiCOc1R2g1Pstz/xDIbQBPJsypAo1kZw8Bl22DtcEy1He5hkRd0WisUt/qJ
389P/L0pZc2/S36BLDMqyPxKpgd3ck6UTQm5RCWg2Kc6gK3v
EOF
                ,

                // Value of private key
                'private' => <<<EOF
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFHDBOBgkqhkiG9w0BBQ0wQTApBgkqhkiG9w0BBQwwHAQI9DY+t4lMWwgCAggA
MAwGCCqGSIb3DQIJBQAwFAYIKoZIhvcNAwcECNgzhVE7Gb8yBIIEyBhecVCmfkvX
V3pr1C/1cmYlGRh/f2D8wa2s5St0Ct6ty594PIhaYMJSZ555rj/buaBTAhxN2YZk
Mvl0D1kahOvK9BeSEzpiKY/k1uxjS0B+4g0kqEvOd/q5tstdp7DliHm4oqvZic7B
ixcC/U5+FxBChyVC32y8bhvLGbiQFP3O3wNgiS8wQCFSm2LqtD4yUxPCB/DYUUm5
xV6IyTfiADpO/L2TGRZxlDV/5xoobBwMCavu9M5RJV46E4exJgirJJZjVLAfJvNr
5J+hHZZkZ97UQjd1JoNDyto1R3imfzxzjBm+N5g1tSswq7OaqpCKhpOYah/wOtxt
0hjWdrT3tAzedIK/97nRseitLWls+K67h7CYzvteAf5KHbz2eokF/4Pw+50ZVuMr
xzLNBaw3XuNz6cdiefWCTTORUyXy9ywOJ462rEzVr4B9pdNR/WX75WnrMZcpKqMv
sGj9FjHJ/6a1J81bzM18ee2mmSvaFHAOPHd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0s1q6JONep51leKeGI1UTMyRHgYaPKQb7tIKPN3v0TPk/gFToC1vPn9R
jvRWZcoN8NNfqNLAa+S3RA==
-----END ENCRYPTED PRIVATE KEY-----
EOF
                ,

                // Passphrase for the private key, if any
                'passphrase' => 'test',

                // Hash function for signature algorithm
                'algorithm' => \RobRichards\XMLSecLibs\XMLSecurityKey::RSA_SHA256
            ]
        ]
    ]
];