@utilities.arguments_not_none<EOL><INDENT>def get_authorization_form_for_create_for_agent(self, agent_id, function_id, qualifier_id, authorization_record_types):<DEDENT>
if not isinstance(agent_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>if not isinstance(function_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>if not isinstance(qualifier_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>for arg in authorization_record_types:<EOL><INDENT>if not isinstance(arg, ABCType):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT><DEDENT>if authorization_record_types == []:<EOL><INDENT>obj_form = objects.AuthorizationForm(<EOL>vault_id=self._catalog_id,<EOL>agent_id=agent_id,<EOL>function_id=function_id,<EOL>qualifier_id=qualifier_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>else:<EOL><INDENT>obj_form = objects.AuthorizationForm(<EOL>vault_id=self._catalog_id,<EOL>record_types=authorization_record_types,<EOL>agent_id=agent_id,<EOL>function_id=function_id,<EOL>qualifier_id=qualifier_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>obj_form._for_update = False<EOL>self._forms[obj_form.get_id().get_identifier()] = not CREATED<EOL>return obj_form<EOL>
Gets the authorization form for creating new authorizations.

        A new form should be requested for each create transaction.

        arg:    agent_id (osid.id.Id): the agent ``Id``
        arg:    function_id (osid.id.Id): the function ``Id``
        arg:    qualifier_id (osid.id.Id): the qualifier ``Id``
        arg:    authorization_record_types (osid.type.Type[]): array of
                authorization record types
        return: (osid.authorization.AuthorizationForm) - the
                authorization form
        raise:  NotFound - ``agent_id, function_id`` or ``qualifier_id``
                is not found
        raise:  NullArgument - ``agent_id, function_id, qualifier_id``
                or ``authorization_record_types`` is ``null``
        raise:  OperationFailed - ``unable to complete request``
        raise:  PermissionDenied - authorization failure
        raise:  Unsupported - unable to get form with requested record
                types
        *compliance: mandatory -- This method must be implemented.*