code: public function getSupportedAuthentication() {
  		if ( empty( $this->data->authentication ) || empty( $this->data->authentication ) ) {
  			return array();
  		}
  
  		return (array) $this->data->authentication;
  	}
docs: Get features supported by the site.
  
  @return array Map of authentication method => method-specific data.