Skip to content

Authentication by API token, not parameter passing #76

@skasberger

Description

@skasberger

Authentication is done by passing an API token to the class instantiation, not by passing the parameter auth to the API methods.

Remove auth and establish set of API token if passed.

Prepare

  • Get all effected functions
    • get_request() ??
    • post_request() ??
    • delete_request() ??
    • put_request() ??

Actions

  • Develop tests
  • Remove auth from API methods
  • Update request methods, so they use the member-variable api_token if set and pass it to the request function
    • get_request() ??
    • post_request() ??
    • delete_request() ??
    • put_request() ??
  • [ ]Update Docs
  • Update Docstrings
  • Run pytest
  • Run tox
  • Run pylint
  • Run mypy

Review

  • Docs

Follow-Ups

  • [ ]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions