@Summary Get OAuth2 application secrets. @ID get-oauth2-application-secrets @Security CoderSessionToken @Produce json @Tags Enterprise @Param app path string true "App ID" @Success 200 {array} codersdk.OAuth2ProviderAppSecret @Router /api/v2/oauth2-provider/apps/{app}/secrets [get]
()
| 77 | // @Success 200 {array} codersdk.OAuth2ProviderAppSecret |
| 78 | // @Router /api/v2/oauth2-provider/apps/{app}/secrets [get] |
| 79 | func (api *API) oAuth2ProviderAppSecrets() http.HandlerFunc { |
| 80 | return oauth2provider.GetAppSecrets(api.Database) |
| 81 | } |
| 82 | |
| 83 | // @Summary Create OAuth2 application secret. |
| 84 | // @ID create-oauth2-application-secret |