Skip to content

Add authorization handling to HttpClient and TusClient#42

Merged
Cadons merged 1 commit intomainfrom
22-add-authentication-support
Feb 13, 2025
Merged

Add authorization handling to HttpClient and TusClient#42
Cadons merged 1 commit intomainfrom
22-add-authentication-support

Conversation

@Cadons
Copy link
Copy Markdown
Owner

@Cadons Cadons commented Feb 13, 2025

  • Implement setAuthorization and isAuthenticated methods in HttpClient.
  • Add setBearerToken and isTokenSetted methods in TusClient.
  • Update HttpClient to include authorization token in requests.
  • Enhance error handling in HttpClient for HTTP response codes.
  • Add tests for authorized and unauthorized requests in HttpClientTest.

- Implement setAuthorization and isAuthenticated methods in HttpClient.
- Add setBearerToken and isTokenSetted methods in TusClient.
- Update HttpClient to include authorization token in requests.
- Enhance error handling in HttpClient for HTTP response codes.
- Add tests for authorized and unauthorized requests in HttpClientTest.
@Cadons Cadons self-assigned this Feb 13, 2025
@Cadons Cadons linked an issue Feb 13, 2025 that may be closed by this pull request
@Cadons Cadons merged commit 8f95c57 into main Feb 13, 2025
@Cadons Cadons deleted the 22-add-authentication-support branch August 2, 2025 15:50
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.

Add Authentication support

1 participant