public function getAuthenticationsAsArray()
    {

        // initialize the array for the authentications
        $authentications = array();

        // iterate over the authentication nodes and sort them into an array
        /** @var \AppserverIo\Appserver\Core\Api\Node\AuthenticationNode $authenticationNode */
        foreach ($this->getAuthentications() as $authenticationNode) {
            $authentications[$authenticationNode->getUri()] = $authenticationNode->getParamsAsArray();
        }

        // return the array
        return $authentications;
    }
public function getAuthenticationsAsArray()
    {

        // initialize the array for the authentications
        $authentications = array();

        // iterate over the authentication nodes and sort them into an array
        /** @var \AppserverIo\Appserver\Core\Api\Node\AuthenticationNode $authenticationNode */
        foreach ($this->getAuthentications() as $authenticationNode) {
            $authentications[$authenticationNode->getUri()] = $authenticationNode->getParamsAsArray();
        }

        // return the array
        return $authentications;
    }
public function getAuthenticationsAsArray ( ) { // initialize the array for the authentications $ authentications = array ( ) ; // iterate over the authentication nodes and sort them into an array /** @var \AppserverIo\Appserver\Core\Api\Node\AuthenticationNode $authenticationNode */ foreach ( $ this -> getAuthentications ( ) as $ authenticationNode ) { $ authentications [ $ authenticationNode -> getUri ( ) ] = $ authenticationNode -> getParamsAsArray ( ) ; } // return the array return $ authentications ; }
Returns the authentications as an associative array.

@return array The array with the sorted authentications
Returns the authentications as an associative array .