src/Settings.php
public function getServiceEndpoint( $service ) {
        switch ( $service ) {
            case 'organization':
                return $this->organizationUrl;
            case 'discovery':
                return $this->discoveryUrl;
            case 'sts':
            case 'login':
                return $this->loginUrl;
            default:
                return $service;
        }
    }
public function getServiceEndpoint( $service ) {
        switch ( $service ) {
            case 'organization':
                return $this->organizationUrl;
            case 'discovery':
                return $this->discoveryUrl;
            case 'sts':
            case 'login':
                return $this->loginUrl;
            default:
                return $service;
        }
    }
public function getServiceEndpoint ( $ service ) { switch ( $ service ) { case 'organization' : return $ this -> organizationUrl ; case 'discovery' : return $ this -> discoveryUrl ; case 'sts' : case 'login' : return $ this -> loginUrl ; default : return $ service ; } }
Retrieves endpoint URI for the given service.

@param string $service

@return string
Retrieves endpoint URI for the given service .