lib/Sso/Service.php
public function getSamlSettings() {
        $settings = new Maestrano_Saml_Settings();

        // Configure SAML
        $settings->idpPublicCertificate = Maestrano::with($this->_preset)->param('sso.x509_certificate');
        $settings->spIssuer = Maestrano::with($this->_preset)->param('api.id');
        // TODO: default value?
        // $settings->requestedNameIdFormat = Maestrano::with($this->_preset)->param('sso.name_id_format');
        $settings->idpSingleSignOnUrl = $this->getIdpUrl();
        $settings->spReturnUrl = $this->getConsumeUrl();

        return $settings;
    }
public function getSamlSettings() {
        $settings = new Maestrano_Saml_Settings();

        // Configure SAML
        $settings->idpPublicCertificate = Maestrano::with($this->_preset)->param('sso.x509_certificate');
        $settings->spIssuer = Maestrano::with($this->_preset)->param('api.id');
        // TODO: default value?
        // $settings->requestedNameIdFormat = Maestrano::with($this->_preset)->param('sso.name_id_format');
        $settings->idpSingleSignOnUrl = $this->getIdpUrl();
        $settings->spReturnUrl = $this->getConsumeUrl();

        return $settings;
    }
public function getSamlSettings ( ) { $ settings = new Maestrano_Saml_Settings ( ) ; // Configure SAML $ settings -> idpPublicCertificate = Maestrano :: with ( $ this -> _preset ) -> param ( 'sso.x509_certificate' ) ; $ settings -> spIssuer = Maestrano :: with ( $ this -> _preset ) -> param ( 'api.id' ) ; // TODO: default value? // $settings->requestedNameIdFormat = Maestrano::with($this->_preset)->param('sso.name_id_format'); $ settings -> idpSingleSignOnUrl = $ this -> getIdpUrl ( ) ; $ settings -> spReturnUrl = $ this -> getConsumeUrl ( ) ; return $ settings ; }
Return a settings object for php-saml

@return Maestrano_Saml_Settings SAML settings
Return a settings object for php - saml