|
32 | 32 |
|
33 | 33 | The IdP object contains the Identity Providers settings that were parse from the metadata and are then used for the rest of the calls.
|
34 | 34 |
|
| 35 | +The Net::SAML2::IdP generated results in: |
| 36 | + |
| 37 | +``` |
| 38 | +$VAR1 = bless( { |
| 39 | + 'slo_urls' => {}, |
| 40 | + 'sso_urls' => { |
| 41 | + 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST' => 'https://accounts.goog |
| 42 | +le.com/o/saml2/idp?idpid=C01nccos6', |
| 43 | + 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect' => 'https://accounts. |
| 44 | +google.com/o/saml2/idp?idpid=C01nccos6' |
| 45 | + }, |
| 46 | + 'default_format' => 'emailAddress', |
| 47 | + 'cacert' => 't/cacert-google.pem', |
| 48 | + 'certs' => [ |
| 49 | + { |
| 50 | + 'signing' => '-----BEGIN CERTIFICATE----- |
| 51 | +MIIDdDCCAlygAwIBAgIGAWj+rlteMA0GCSqGSIb3DQEBCwUAMHsxFDASBgNVBAoT |
| 52 | +C0dvb2dsZSBJbmMuMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MQ8wDQYDVQQDEwZH |
| 53 | +b29nbGUxGDAWBgNVBAsTD0dvb2dsZSBGb3IgV29yazELMAkGA1UEBhMCVVMxEzAR |
| 54 | +BgNVBAgTCkNhbGlmb3JuaWEwHhcNMTkwMjE4MDMzNzQ1WhcNMjQwMjE3MDMzNzQ1 |
| 55 | +WjB7MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEWMBQGA1UEBxMNTW91bnRhaW4gVmll |
| 56 | +dzEPMA0GA1UEAxMGR29vZ2xlMRgwFgYDVQQLEw9Hb29nbGUgRm9yIFdvcmsxCzAJ |
| 57 | +BgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMIIBIjANBgkqhkiG9w0BAQEF |
| 58 | +AAOCAQ8AMIIBCgKCAQEAubE4/cl70Lc2f7VV+ZJyzYIzuAMj6ejlbtRnym2kgyYj |
| 59 | +aaO0MVU/r38oRC7UqdQIXwA0/S1Eu0k6EYcCUiyTGWz3HKv/OSOSnSDpN4wEWaZb |
| 60 | +mJYvu8SjWZQCVdcM4fx1kzrtE+LEBTOKgj0k2G1qUMNI7xaqiJONO9aIeCic5zbA |
| 61 | +CNpc+IOZoRS4RaY5Ie7W1ZIXAJ0xWL3snVdqklaJzzU2Myt5QX6W1Sd411Hzo+Ih |
| 62 | +i5ksq18ML1tgMTFIqLkY2Luf5JJdZFRcCgvHrFF2CQywE0ftZtSSg5wD+hp3PJpL |
| 63 | +5bxxF1vSdyKQbUia1Buc8+Cy6NTIbmLLIrcyULyHSwIDAQABMA0GCSqGSIb3DQEB |
| 64 | +CwUAA4IBAQAXKjWrRzhgUW1+pK3V51MGl2b/yf33Ac4fm7GQql0Ag0Neye1EmdLj |
| 65 | +D2N9gVeFawMcfRT4GABBHtS5bu01M8QHHAGjbBKfqOaPJc39v0Y/RCSd/FzXg99h |
| 66 | +NT5UggAWVR+vC6a1IrVSUa5eKe82yBAubbdftvGtKHG90HIAsb1iyMKK2rGnTupg |
| 67 | +JfJIUTWhWnWuemIVwduErFCxng//jYXViyEloz730faMIp6eNSD2+2cCssVGFb6F |
| 68 | +xhCvVuNh6tgXv4vErVSWerFk/GcIh5n/biaDy/gEtAqgK154AfOifpDP3l3ZV/ce |
| 69 | +lj1wSwcLF90e84XaVIkzb3veTcWhqaaq |
| 70 | +-----END CERTIFICATE----- |
| 71 | +' |
| 72 | + } |
| 73 | + ], |
| 74 | + 'formats' => { |
| 75 | + 'emailAddress' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' |
| 76 | + }, |
| 77 | + 'art_urls' => {}, |
| 78 | + 'entityid' => 'https://accounts.google.com/o/saml2?idpid=C01nccos6' |
| 79 | + }, 'Net::SAML2::IdP' ); |
| 80 | +``` |
| 81 | + |
35 | 82 | ### Create the authentication request
|
36 | 83 |
|
37 | 84 | There are two methods to create the Authentication Request.
|
|
0 commit comments