MCPcopy
hub / github.com/zitadel/oidc / CodeExchange

Method CodeExchange

pkg/op/server.go:87–87  ·  view source on GitHub ↗

CodeExchange returns Tokens after an authorization code is obtained in a successful Authorize flow. It is called by the Token endpoint handler when grant_type has the value authorization_code https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint The recommended Response Data type is [o

(context.Context, *ClientRequest[oidc.AccessTokenRequest])

Source from the content-addressed store, hash-verified

85 // https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint
86 // The recommended Response Data type is [oidc.AccessTokenResponse].
87 CodeExchange(context.Context, *ClientRequest[oidc.AccessTokenRequest]) (*Response, error)
88
89 // RefreshToken returns new Tokens after verifying a Refresh token.
90 // It is called by the Token endpoint handler when

Callers 1

codeExchangeHandlerMethod · 0.65

Implementers 1

UnimplementedServerpkg/op/server.go

Calls

no outgoing calls

Tested by

no test coverage detected