Skip to content

Conversation

@legnoh
Copy link
Contributor

@legnoh legnoh commented Dec 17, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the master branch.
  • I used gofmt for formatting the code before submitting the pull request.

(This PR is a resubmission of #1255. Sorry for the inconvenience.)

This pull request adds new functionality to manage access tokens more effectively, including retrieving and revoking tokens by ID, as well as filtering and listing tokens. It introduces new methods in the access token service and manager, updates the documentation, and adds comprehensive tests for these features.

New Access Token Management Features:

Documentation Updates:

  • Expanded the README.md to document:
    • How to get access tokens (with filters)
    • How to get a token by ID
    • How to revoke a token by ID [1] [2]

Testing Enhancements:

  • Added tests for the new access token methods:
    • testGetTokens
    • testGetTokenByID
    • testRevokeTokenByID [1] [2]

These changes make it easier to programmatically manage access tokens, improving both usability and test coverage.

@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@legnoh legnoh marked this pull request as ready for review December 17, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants