lib/Site.php
public function getSupportedAuthentication() {
		if ( empty( $this->data->authentication ) || empty( $this->data->authentication ) ) {
			return array();
		}

		return (array) $this->data->authentication;
	}
public function getSupportedAuthentication() {
		if ( empty( $this->data->authentication ) || empty( $this->data->authentication ) ) {
			return array();
		}

		return (array) $this->data->authentication;
	}
Get features supported by the site.

@return array Map of authentication method => method-specific data.