Skip to content

Comments

Feature: Add SendAccessTokenRequest util#17

Merged
tim-ywliu merged 3 commits intofree5gc:mainfrom
andy89923:feat/oauth2
Nov 12, 2023
Merged

Feature: Add SendAccessTokenRequest util#17
tim-ywliu merged 3 commits intofree5gc:mainfrom
andy89923:feat/oauth2

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