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

Method oAuth2ProviderApps

coderd/oauth2.go:17–19  ·  view source on GitHub ↗

@Summary Get OAuth2 applications. @ID get-oauth2-applications @Security CoderSessionToken @Produce json @Tags Enterprise @Param user_id query string false "Filter by applications authorized for a user" @Success 200 {array} codersdk.OAuth2ProviderApp @Router /api/v2/oauth2-provider/apps [get]

()

Source from the content-addressed store, hash-verified

15// @Success 200 {array} codersdk.OAuth2ProviderApp
16// @Router /api/v2/oauth2-provider/apps [get]
17func (api *API) oAuth2ProviderApps() http.HandlerFunc {
18 return oauth2provider.ListApps(api.Database, api.AccessURL)
19}
20
21// @Summary Get OAuth2 application.
22// @ID get-oauth2-application

Callers 1

NewFunction · 0.95

Calls 1

ListAppsFunction · 0.92

Tested by

no test coverage detected