Auth_OpenID_ServiceEndpoint::matchTypes PHP Method

matchTypes() public method

* Query this endpoint to see if it has any of the given type URIs. This is useful for implementing other endpoint classes that e.g. need to check for the presence of multiple versions of a single protocol.
public matchTypes ( $type_uris )
$type_uris The URIs that you wish to check
    function matchTypes($type_uris)
    {
        $result = array();
        foreach ($type_uris as $test_uri) {
            if ($this->supportsType($test_uri)) {
                $result[] = $test_uri;
            }
        }
        return $result;
    }