8000 Feature: Add SendAccessTokenRequest util by andy89923 · Pull Request #17 · free5gc/openapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature: Add SendAccessTokenRequest util #17

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

Merged
merged 3 commits into from
Nov 12, 2023

Conversation

andy89923
Copy link
Contributor

Description

This function is used for NF to request AccessToken from NRF.
Also, we maintain tokenMap and clientMap to reuse the token which is not expired or reuse client with the same configuration.

@andy89923 andy89923 changed the title Feature: Add SendAccessTokenRequest utils Feature: Add SendAccessTokenRequest util Nov 8, 2023
Copy link
Collaborator
@tim-ywliu tim-ywliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move all codes to oauth.go

@andy89923
Copy link
Contributor Author
andy89923 commented Nov 9, 2023

I moved all the OAuth related code to directory oauth/ and used package oauth.

@tim-ywliu tim-ywliu merged commit a96c345 into free5gc:main Nov 12, 2023
@andy89923 andy89923 deleted the feat/oauth2 branch November 13, 2023 05:55
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
0