Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: pass lifetime directly into api key generate#11715

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
code-asher merged 1 commit intomainfromasher/api-key-lifetime
Jan 22, 2024

Conversation

code-asher
Copy link
Member

@code-ashercode-asher commentedJan 19, 2024
edited
Loading

This was pulled out of#11609. I am trying to split up that PR so we can review and merge more easily.

Rather than passing all the deployment values, pass just the lifetime since that is all we use. This is to make it easier to generate API keys as part of the oauth flow (otherwise we will need send the deployment values into the identity provider).

I also added and fixed a test for when the lifetime is set and the default and expiration are unset (was just missing a multiplication bytime.Second to use seconds instead of nanoseconds or whatever the default is).

Rather than passing all the deployment values.  This is to make iteasier to generate API keys as part of the oauth flow.I also added and fixed a test for when the lifetime is set and thedefault and expiration are unset.Co-authored-by: Steven Masley <stevenmasley@gmail.com>
@code-ashercode-asher marked this pull request as ready for reviewJanuary 19, 2024 21:22
@code-ashercode-asher mentioned this pull requestJan 20, 2024
20 tasks
@Emyrk
Copy link
Member

This is fine to unblock, we should do this long term:#11693

@code-ashercode-asher merged commit16c6cef intomainJan 22, 2024
@code-ashercode-asher deleted the asher/api-key-lifetime branchJanuary 22, 2024 20:42
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 22, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

@sreyasreyaAwaiting requested review from sreya

Assignees

@code-ashercode-asher

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@code-asher@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp