Auth_OpenID_AX_FetchRequest::getRequiredAttrs PHP Method

getRequiredAttrs() public method

Get the type URIs for all attributes that have been marked as required.
public getRequiredAttrs ( ) : A
return A list of the type URIs for attributes that have been marked as required.
    function getRequiredAttrs()
    {
        $required = array();
        foreach ($this->requested_attributes as $type_uri => $attribute) {
            if ($attribute->required) {
                $required[] = $type_uri;
            }
        }
        return $required;
    }