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

Support tokens exchange via gRPC #12

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

vasayxtx
Copy link
Member

No description provided.

@vasayxtx vasayxtx requested a review from MikeYast as a code owner October 29, 2024 10:57
@vasayxtx vasayxtx force-pushed the grpc-token-exchange-support branch from 15920f3 to 39b9b90 Compare October 29, 2024 11:27
@@ -89,6 +89,12 @@ func (c *GRPCClient) Close() error {
return c.clientConn.Close()
}

type TokenData struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to add header comment plus fields comments

@@ -35,15 +38,22 @@ const minAccessTokenProviderInvalidationInterval = time.Minute

const tokenIntrospectorPromSource = "token_introspector"

const (
DefaultIntrospectionClaimsCacheMaxEntries = 1000
Copy link
Collaborator

Choose a reason for hiding this comment

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

Comments are needed here

@vasayxtx vasayxtx force-pushed the grpc-token-exchange-support branch from 39b9b90 to fb15ab5 Compare October 29, 2024 17:03
@vasayxtx vasayxtx requested a review from MikeYast October 29, 2024 17:16
@vasayxtx vasayxtx merged commit cd4181a into acronis:main Oct 30, 2024
5 checks passed
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