MCPcopy Index your code
hub / github.com/coder/coder / postOAuth2ClientRegistration

Method postOAuth2ClientRegistration

coderd/oauth2.go:204–206  ·  view source on GitHub ↗

@Summary OAuth2 dynamic client registration (RFC 7591) @ID oauth2-dynamic-client-registration @Accept json @Produce json @Tags Enterprise @Param request body codersdk.OAuth2ClientRegistrationRequest true "Client registration request" @Success 201 {object} codersdk.OAuth2ClientRegistrationResponse @R

()

Source from the content-addressed store, hash-verified

202// @Success 201 {object} codersdk.OAuth2ClientRegistrationResponse
203// @Router /oauth2/register [post]
204func (api *API) postOAuth2ClientRegistration() http.HandlerFunc {
205 return oauth2provider.CreateDynamicClientRegistration(api.Database, api.AccessURL, api.Auditor.Load(), api.Logger)
206}
207
208// @Summary Get OAuth2 client configuration (RFC 7592)
209// @ID get-oauth2-client-configuration

Callers 1

NewFunction · 0.95

Calls 2

LoadMethod · 0.45

Tested by

no test coverage detected