mirror of
https://github.com/openziti/zrok.git
synced 2025-08-14 02:05:39 +02:00
initial testing for oauth protecting shares
This commit is contained in:
@ -0,0 +1,37 @@
|
||||
// Code generated by go-swagger; DO NOT EDIT.
|
||||
|
||||
package share
|
||||
|
||||
// This file was generated by the swagger tool.
|
||||
// Editing this file might prove futile when you re-run the swagger generate command
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/go-openapi/runtime"
|
||||
)
|
||||
|
||||
// OauthAuthenticateOKCode is the HTTP code returned for type OauthAuthenticateOK
|
||||
const OauthAuthenticateOKCode int = 200
|
||||
|
||||
/*
|
||||
OauthAuthenticateOK testing
|
||||
|
||||
swagger:response oauthAuthenticateOK
|
||||
*/
|
||||
type OauthAuthenticateOK struct {
|
||||
}
|
||||
|
||||
// NewOauthAuthenticateOK creates OauthAuthenticateOK with default headers values
|
||||
func NewOauthAuthenticateOK() *OauthAuthenticateOK {
|
||||
|
||||
return &OauthAuthenticateOK{}
|
||||
}
|
||||
|
||||
// WriteResponse to the client
|
||||
func (o *OauthAuthenticateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
||||
|
||||
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
||||
|
||||
rw.WriteHeader(200)
|
||||
}
|
Reference in New Issue
Block a user