@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]
()
| 15 | // @Success 200 {array} codersdk.OAuth2ProviderApp |
| 16 | // @Router /api/v2/oauth2-provider/apps [get] |
| 17 | func (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 |