Skip to content

After logging in, nodeinfo is required for all API requests, but Resquestor is allowed to continue without it #102

Description

@fixmycode

In the presence of an auth token, the requestor selects the strategy to authenticate using nodeinfo's version, but there's a situation where the request for nodeinfo could have failed and the information is not available to make a decision. The requestor is allowed to instantiate because raise_exceptions is False.

If nodeinfo is necessary to make that decision, Requestor's nodeinfo should be refactored as a getter, which can return the saved value or request the nodeinfo again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions