Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api, ui): implement API key #3177

Merged
merged 2 commits into from
Mar 18, 2024
Merged

feat(api, ui): implement API key #3177

merged 2 commits into from
Mar 18, 2024

Conversation

danyecls
Copy link
Contributor

@danyecls danyecls commented Oct 18, 2023

In this feat, the API key to make authentication with a key with out time expired was implemented;
The routes were implemented;
CreateAPIKey - to create a new API key
EditAPIKey - to edit a name to API key
ListAPIKeys - to list all API keys created for your user
DeleteAPIKey - to delete the API key

pkg/models/user.go Outdated Show resolved Hide resolved
api/services/auth.go Outdated Show resolved Hide resolved
@danyecls danyecls force-pushed the feat/custom-token branch 3 times, most recently from d282708 to 8a44b53 Compare November 21, 2023 11:51
@danyecls danyecls force-pushed the feat/custom-token branch 5 times, most recently from 0ba9570 to bb78af0 Compare January 10, 2024 12:19
@danyecls danyecls force-pushed the feat/custom-token branch 4 times, most recently from c427bf1 to ac73f0b Compare January 11, 2024 11:45
@danyecls danyecls force-pushed the feat/custom-token branch 6 times, most recently from 3e22299 to bd37b29 Compare February 6, 2024 12:10
@danyecls danyecls force-pushed the feat/custom-token branch 8 times, most recently from 86591ee to ed48835 Compare March 7, 2024 12:29
@danyecls danyecls requested a review from heiytor March 7, 2024 12:38
@danyecls danyecls changed the title feat(api): create custom token feat(api, ui): implement API key Mar 12, 2024
@danyecls danyecls force-pushed the feat/custom-token branch 3 times, most recently from a4e06b6 to e45c053 Compare March 12, 2024 18:56
@danyecls danyecls force-pushed the feat/custom-token branch 7 times, most recently from dc94cc6 to d9abd54 Compare March 13, 2024 18:56
This commit introduces the API Key section to the user interface, enhancing
user interaction and accessibility. integration and rendering tests have
been added to ensure the functionality and reliability of the new feature.
@gustavosbarreto gustavosbarreto merged commit 7fffde5 into master Mar 18, 2024
8 checks passed
@gustavosbarreto gustavosbarreto deleted the feat/custom-token branch March 18, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants