Documentation ¶
Index ¶
- Constants
- Variables
- type GetAuthorize
- type GetAuthorizeHandler
- type GetAuthorizeHandlerFunc
- type GetAuthorizeInternalServerError
- type GetAuthorizeOK
- type GetAuthorizeParams
- type GetAuthorizeURL
- func (o *GetAuthorizeURL) Build() (*url.URL, error)
- func (o *GetAuthorizeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAuthorizeURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAuthorizeURL) SetBasePath(bp string)
- func (o *GetAuthorizeURL) String() string
- func (o *GetAuthorizeURL) StringFull(scheme, host string) string
- func (o *GetAuthorizeURL) WithBasePath(bp string) *GetAuthorizeURL
- type GetCredentials
- type GetCredentialsHandler
- type GetCredentialsHandlerFunc
- type GetCredentialsInternalServerError
- func (o *GetCredentialsInternalServerError) SetPayload(payload *models.Error)
- func (o *GetCredentialsInternalServerError) WithPayload(payload *models.Error) *GetCredentialsInternalServerError
- func (o *GetCredentialsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCredentialsOK
- type GetCredentialsParams
- type GetCredentialsURL
- func (o *GetCredentialsURL) Build() (*url.URL, error)
- func (o *GetCredentialsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCredentialsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCredentialsURL) SetBasePath(bp string)
- func (o *GetCredentialsURL) String() string
- func (o *GetCredentialsURL) StringFull(scheme, host string) string
- func (o *GetCredentialsURL) WithBasePath(bp string) *GetCredentialsURL
- type GetGoogleCallback
- type GetGoogleCallbackHandler
- type GetGoogleCallbackHandlerFunc
- type GetGoogleCallbackInternalServerError
- func (o *GetGoogleCallbackInternalServerError) SetPayload(payload *models.Error)
- func (o *GetGoogleCallbackInternalServerError) WithPayload(payload *models.Error) *GetGoogleCallbackInternalServerError
- func (o *GetGoogleCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGoogleCallbackOK
- type GetGoogleCallbackParams
- type GetGoogleCallbackURL
- func (o *GetGoogleCallbackURL) Build() (*url.URL, error)
- func (o *GetGoogleCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGoogleCallbackURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGoogleCallbackURL) SetBasePath(bp string)
- func (o *GetGoogleCallbackURL) String() string
- func (o *GetGoogleCallbackURL) StringFull(scheme, host string) string
- func (o *GetGoogleCallbackURL) WithBasePath(bp string) *GetGoogleCallbackURL
- type GetGoogleLogin
- type GetGoogleLoginHandler
- type GetGoogleLoginHandlerFunc
- type GetGoogleLoginInternalServerError
- func (o *GetGoogleLoginInternalServerError) SetPayload(payload *models.Error)
- func (o *GetGoogleLoginInternalServerError) WithPayload(payload *models.Error) *GetGoogleLoginInternalServerError
- func (o *GetGoogleLoginInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGoogleLoginOK
- type GetGoogleLoginParams
- type GetGoogleLoginURL
- func (o *GetGoogleLoginURL) Build() (*url.URL, error)
- func (o *GetGoogleLoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGoogleLoginURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGoogleLoginURL) SetBasePath(bp string)
- func (o *GetGoogleLoginURL) String() string
- func (o *GetGoogleLoginURL) StringFull(scheme, host string) string
- func (o *GetGoogleLoginURL) WithBasePath(bp string) *GetGoogleLoginURL
- type GetPing
- type GetPingHandler
- type GetPingHandlerFunc
- type GetPingInternalServerError
- type GetPingOK
- type GetPingParams
- type GetPingURL
- func (o *GetPingURL) Build() (*url.URL, error)
- func (o *GetPingURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPingURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPingURL) SetBasePath(bp string)
- func (o *GetPingURL) String() string
- func (o *GetPingURL) StringFull(scheme, host string) string
- func (o *GetPingURL) WithBasePath(bp string) *GetPingURL
- type GetTelegramCallback
- type GetTelegramCallbackHandler
- type GetTelegramCallbackHandlerFunc
- type GetTelegramCallbackInternalServerError
- func (o *GetTelegramCallbackInternalServerError) SetPayload(payload *models.Error)
- func (o *GetTelegramCallbackInternalServerError) WithPayload(payload *models.Error) *GetTelegramCallbackInternalServerError
- func (o *GetTelegramCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTelegramCallbackOK
- type GetTelegramCallbackParams
- type GetTelegramCallbackURL
- func (o *GetTelegramCallbackURL) Build() (*url.URL, error)
- func (o *GetTelegramCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTelegramCallbackURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTelegramCallbackURL) SetBasePath(bp string)
- func (o *GetTelegramCallbackURL) String() string
- func (o *GetTelegramCallbackURL) StringFull(scheme, host string) string
- func (o *GetTelegramCallbackURL) WithBasePath(bp string) *GetTelegramCallbackURL
- type GetTelegramLogin
- type GetTelegramLoginHandler
- type GetTelegramLoginHandlerFunc
- type GetTelegramLoginInternalServerError
- func (o *GetTelegramLoginInternalServerError) SetPayload(payload *models.Error)
- func (o *GetTelegramLoginInternalServerError) WithPayload(payload *models.Error) *GetTelegramLoginInternalServerError
- func (o *GetTelegramLoginInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTelegramLoginOK
- type GetTelegramLoginParams
- type GetTelegramLoginURL
- func (o *GetTelegramLoginURL) Build() (*url.URL, error)
- func (o *GetTelegramLoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTelegramLoginURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTelegramLoginURL) SetBasePath(bp string)
- func (o *GetTelegramLoginURL) String() string
- func (o *GetTelegramLoginURL) StringFull(scheme, host string) string
- func (o *GetTelegramLoginURL) WithBasePath(bp string) *GetTelegramLoginURL
- type GetValidate
- type GetValidateHandler
- type GetValidateHandlerFunc
- type GetValidateInternalServerError
- type GetValidateOK
- type GetValidateParams
- type GetValidateURL
- func (o *GetValidateURL) Build() (*url.URL, error)
- func (o *GetValidateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetValidateURL) Must(u *url.URL, err error) *url.URL
- func (o *GetValidateURL) SetBasePath(bp string)
- func (o *GetValidateURL) String() string
- func (o *GetValidateURL) StringFull(scheme, host string) string
- func (o *GetValidateURL) WithBasePath(bp string) *GetValidateURL
- type GetVkCallback
- type GetVkCallbackHandler
- type GetVkCallbackHandlerFunc
- type GetVkCallbackInternalServerError
- type GetVkCallbackOK
- type GetVkCallbackParams
- type GetVkCallbackURL
- func (o *GetVkCallbackURL) Build() (*url.URL, error)
- func (o *GetVkCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVkCallbackURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVkCallbackURL) SetBasePath(bp string)
- func (o *GetVkCallbackURL) String() string
- func (o *GetVkCallbackURL) StringFull(scheme, host string) string
- func (o *GetVkCallbackURL) WithBasePath(bp string) *GetVkCallbackURL
- type GetVkLogin
- type GetVkLoginHandler
- type GetVkLoginHandlerFunc
- type GetVkLoginInternalServerError
- type GetVkLoginOK
- type GetVkLoginParams
- type GetVkLoginURL
- func (o *GetVkLoginURL) Build() (*url.URL, error)
- func (o *GetVkLoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVkLoginURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVkLoginURL) SetBasePath(bp string)
- func (o *GetVkLoginURL) String() string
- func (o *GetVkLoginURL) StringFull(scheme, host string) string
- func (o *GetVkLoginURL) WithBasePath(bp string) *GetVkLoginURL
- type GetYandexCallback
- type GetYandexCallbackHandler
- type GetYandexCallbackHandlerFunc
- type GetYandexCallbackInternalServerError
- func (o *GetYandexCallbackInternalServerError) SetPayload(payload *models.Error)
- func (o *GetYandexCallbackInternalServerError) WithPayload(payload *models.Error) *GetYandexCallbackInternalServerError
- func (o *GetYandexCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetYandexCallbackOK
- type GetYandexCallbackParams
- type GetYandexCallbackURL
- func (o *GetYandexCallbackURL) Build() (*url.URL, error)
- func (o *GetYandexCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetYandexCallbackURL) Must(u *url.URL, err error) *url.URL
- func (o *GetYandexCallbackURL) SetBasePath(bp string)
- func (o *GetYandexCallbackURL) String() string
- func (o *GetYandexCallbackURL) StringFull(scheme, host string) string
- func (o *GetYandexCallbackURL) WithBasePath(bp string) *GetYandexCallbackURL
- type GetYandexLogin
- type GetYandexLoginHandler
- type GetYandexLoginHandlerFunc
- type GetYandexLoginInternalServerError
- func (o *GetYandexLoginInternalServerError) SetPayload(payload *models.Error)
- func (o *GetYandexLoginInternalServerError) WithPayload(payload *models.Error) *GetYandexLoginInternalServerError
- func (o *GetYandexLoginInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetYandexLoginOK
- type GetYandexLoginParams
- type GetYandexLoginURL
- func (o *GetYandexLoginURL) Build() (*url.URL, error)
- func (o *GetYandexLoginURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetYandexLoginURL) Must(u *url.URL, err error) *url.URL
- func (o *GetYandexLoginURL) SetBasePath(bp string)
- func (o *GetYandexLoginURL) String() string
- func (o *GetYandexLoginURL) StringFull(scheme, host string) string
- func (o *GetYandexLoginURL) WithBasePath(bp string) *GetYandexLoginURL
- type PostToken
- type PostTokenHandler
- type PostTokenHandlerFunc
- type PostTokenInternalServerError
- type PostTokenOK
- type PostTokenParams
- type PostTokenURL
- func (o *PostTokenURL) Build() (*url.URL, error)
- func (o *PostTokenURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostTokenURL) Must(u *url.URL, err error) *url.URL
- func (o *PostTokenURL) SetBasePath(bp string)
- func (o *PostTokenURL) String() string
- func (o *PostTokenURL) StringFull(scheme, host string) string
- func (o *PostTokenURL) WithBasePath(bp string) *PostTokenURL
Constants ¶
const GetAuthorizeInternalServerErrorCode int = 500
GetAuthorizeInternalServerErrorCode is the HTTP code returned for type GetAuthorizeInternalServerError
const GetAuthorizeOKCode int = 200
GetAuthorizeOKCode is the HTTP code returned for type GetAuthorizeOK
const GetCredentialsInternalServerErrorCode int = 500
GetCredentialsInternalServerErrorCode is the HTTP code returned for type GetCredentialsInternalServerError
const GetCredentialsOKCode int = 200
GetCredentialsOKCode is the HTTP code returned for type GetCredentialsOK
const GetGoogleCallbackInternalServerErrorCode int = 500
GetGoogleCallbackInternalServerErrorCode is the HTTP code returned for type GetGoogleCallbackInternalServerError
const GetGoogleCallbackOKCode int = 200
GetGoogleCallbackOKCode is the HTTP code returned for type GetGoogleCallbackOK
const GetGoogleLoginInternalServerErrorCode int = 500
GetGoogleLoginInternalServerErrorCode is the HTTP code returned for type GetGoogleLoginInternalServerError
const GetGoogleLoginOKCode int = 200
GetGoogleLoginOKCode is the HTTP code returned for type GetGoogleLoginOK
const GetPingInternalServerErrorCode int = 500
GetPingInternalServerErrorCode is the HTTP code returned for type GetPingInternalServerError
const GetPingOKCode int = 200
GetPingOKCode is the HTTP code returned for type GetPingOK
const GetTelegramCallbackInternalServerErrorCode int = 500
GetTelegramCallbackInternalServerErrorCode is the HTTP code returned for type GetTelegramCallbackInternalServerError
const GetTelegramCallbackOKCode int = 200
GetTelegramCallbackOKCode is the HTTP code returned for type GetTelegramCallbackOK
const GetTelegramLoginInternalServerErrorCode int = 500
GetTelegramLoginInternalServerErrorCode is the HTTP code returned for type GetTelegramLoginInternalServerError
const GetTelegramLoginOKCode int = 200
GetTelegramLoginOKCode is the HTTP code returned for type GetTelegramLoginOK
const GetValidateInternalServerErrorCode int = 500
GetValidateInternalServerErrorCode is the HTTP code returned for type GetValidateInternalServerError
const GetValidateOKCode int = 200
GetValidateOKCode is the HTTP code returned for type GetValidateOK
const GetVkCallbackInternalServerErrorCode int = 500
GetVkCallbackInternalServerErrorCode is the HTTP code returned for type GetVkCallbackInternalServerError
const GetVkCallbackOKCode int = 200
GetVkCallbackOKCode is the HTTP code returned for type GetVkCallbackOK
const GetVkLoginInternalServerErrorCode int = 500
GetVkLoginInternalServerErrorCode is the HTTP code returned for type GetVkLoginInternalServerError
const GetVkLoginOKCode int = 200
GetVkLoginOKCode is the HTTP code returned for type GetVkLoginOK
const GetYandexCallbackInternalServerErrorCode int = 500
GetYandexCallbackInternalServerErrorCode is the HTTP code returned for type GetYandexCallbackInternalServerError
const GetYandexCallbackOKCode int = 200
GetYandexCallbackOKCode is the HTTP code returned for type GetYandexCallbackOK
const GetYandexLoginInternalServerErrorCode int = 500
GetYandexLoginInternalServerErrorCode is the HTTP code returned for type GetYandexLoginInternalServerError
const GetYandexLoginOKCode int = 200
GetYandexLoginOKCode is the HTTP code returned for type GetYandexLoginOK
const PostTokenInternalServerErrorCode int = 500
PostTokenInternalServerErrorCode is the HTTP code returned for type PostTokenInternalServerError
const PostTokenOKCode int = 200
PostTokenOKCode is the HTTP code returned for type PostTokenOK
Variables ¶
var PostTokenMaxParseMemory int64 = 32 << 20
PostTokenMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
The default value is 32 MB. The multipart parser stores up to this + 10MB.
Functions ¶
This section is empty.
Types ¶
type GetAuthorize ¶
type GetAuthorize struct { Context *middleware.Context Handler GetAuthorizeHandler }
GetAuthorize swagger:route GET /authorize public getAuthorize
This API endpoint create, store and returns credentials for new user
func NewGetAuthorize ¶
func NewGetAuthorize(ctx *middleware.Context, handler GetAuthorizeHandler) *GetAuthorize
NewGetAuthorize creates a new http.Handler for the get authorize operation
func (*GetAuthorize) ServeHTTP ¶
func (o *GetAuthorize) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAuthorizeHandler ¶
type GetAuthorizeHandler interface {
Handle(GetAuthorizeParams) middleware.Responder
}
GetAuthorizeHandler interface for that can handle valid get authorize params
type GetAuthorizeHandlerFunc ¶
type GetAuthorizeHandlerFunc func(GetAuthorizeParams) middleware.Responder
GetAuthorizeHandlerFunc turns a function with the right signature into a get authorize handler
func (GetAuthorizeHandlerFunc) Handle ¶
func (fn GetAuthorizeHandlerFunc) Handle(params GetAuthorizeParams) middleware.Responder
Handle executing the request and returning a response
type GetAuthorizeInternalServerError ¶
type GetAuthorizeInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAuthorizeInternalServerError When some error occurs
swagger:response getAuthorizeInternalServerError
func NewGetAuthorizeInternalServerError ¶
func NewGetAuthorizeInternalServerError() *GetAuthorizeInternalServerError
NewGetAuthorizeInternalServerError creates GetAuthorizeInternalServerError with default headers values
func (*GetAuthorizeInternalServerError) SetPayload ¶
func (o *GetAuthorizeInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get authorize internal server error response
func (*GetAuthorizeInternalServerError) WithPayload ¶
func (o *GetAuthorizeInternalServerError) WithPayload(payload *models.Error) *GetAuthorizeInternalServerError
WithPayload adds the payload to the get authorize internal server error response
func (*GetAuthorizeInternalServerError) WriteResponse ¶
func (o *GetAuthorizeInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAuthorizeOK ¶
GetAuthorizeOK authorize
swagger:response getAuthorizeOK
func NewGetAuthorizeOK ¶
func NewGetAuthorizeOK() *GetAuthorizeOK
NewGetAuthorizeOK creates GetAuthorizeOK with default headers values
func (*GetAuthorizeOK) SetPayload ¶
func (o *GetAuthorizeOK) SetPayload(payload *models.Authorize)
SetPayload sets the payload to the get authorize o k response
func (*GetAuthorizeOK) WithPayload ¶
func (o *GetAuthorizeOK) WithPayload(payload *models.Authorize) *GetAuthorizeOK
WithPayload adds the payload to the get authorize o k response
func (*GetAuthorizeOK) WriteResponse ¶
func (o *GetAuthorizeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAuthorizeParams ¶
type GetAuthorizeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*access type In: query */ AccessType *string /*client id Required: true In: query */ ClientID string /*code challenge In: query */ CodeChallenge *string /*code challenge method In: query */ CodeChallengeMethod *string /*redirect uri Required: true In: query */ RedirectURI string /*response type Required: true In: query */ ResponseType string /*scope Required: true In: query */ Scope string /*state In: query */ State *string }
GetAuthorizeParams contains all the bound params for the get authorize operation typically these are obtained from a http.Request
swagger:parameters GetAuthorize
func NewGetAuthorizeParams ¶
func NewGetAuthorizeParams() GetAuthorizeParams
NewGetAuthorizeParams creates a new GetAuthorizeParams object
There are no default values defined in the spec.
func (*GetAuthorizeParams) BindRequest ¶
func (o *GetAuthorizeParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetAuthorizeParams() beforehand.
type GetAuthorizeURL ¶
type GetAuthorizeURL struct { AccessType *string ClientID string CodeChallenge *string CodeChallengeMethod *string RedirectURI string ResponseType string Scope string State *string // contains filtered or unexported fields }
GetAuthorizeURL generates an URL for the get authorize operation
func (*GetAuthorizeURL) Build ¶
func (o *GetAuthorizeURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAuthorizeURL) BuildFull ¶
func (o *GetAuthorizeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAuthorizeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAuthorizeURL) SetBasePath ¶
func (o *GetAuthorizeURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetAuthorizeURL) String ¶
func (o *GetAuthorizeURL) String() string
String returns the string representation of the path with query string
func (*GetAuthorizeURL) StringFull ¶
func (o *GetAuthorizeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAuthorizeURL) WithBasePath ¶
func (o *GetAuthorizeURL) WithBasePath(bp string) *GetAuthorizeURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetCredentials ¶
type GetCredentials struct { Context *middleware.Context Handler GetCredentialsHandler }
GetCredentials swagger:route GET /credentials public getCredentials
This API endpoint create, store and returns credentials for new user
func NewGetCredentials ¶
func NewGetCredentials(ctx *middleware.Context, handler GetCredentialsHandler) *GetCredentials
NewGetCredentials creates a new http.Handler for the get credentials operation
func (*GetCredentials) ServeHTTP ¶
func (o *GetCredentials) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCredentialsHandler ¶
type GetCredentialsHandler interface {
Handle(GetCredentialsParams) middleware.Responder
}
GetCredentialsHandler interface for that can handle valid get credentials params
type GetCredentialsHandlerFunc ¶
type GetCredentialsHandlerFunc func(GetCredentialsParams) middleware.Responder
GetCredentialsHandlerFunc turns a function with the right signature into a get credentials handler
func (GetCredentialsHandlerFunc) Handle ¶
func (fn GetCredentialsHandlerFunc) Handle(params GetCredentialsParams) middleware.Responder
Handle executing the request and returning a response
type GetCredentialsInternalServerError ¶
type GetCredentialsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetCredentialsInternalServerError When some error occurs
swagger:response getCredentialsInternalServerError
func NewGetCredentialsInternalServerError ¶
func NewGetCredentialsInternalServerError() *GetCredentialsInternalServerError
NewGetCredentialsInternalServerError creates GetCredentialsInternalServerError with default headers values
func (*GetCredentialsInternalServerError) SetPayload ¶
func (o *GetCredentialsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get credentials internal server error response
func (*GetCredentialsInternalServerError) WithPayload ¶
func (o *GetCredentialsInternalServerError) WithPayload(payload *models.Error) *GetCredentialsInternalServerError
WithPayload adds the payload to the get credentials internal server error response
func (*GetCredentialsInternalServerError) WriteResponse ¶
func (o *GetCredentialsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCredentialsOK ¶
type GetCredentialsOK struct { /* In: Body */ Payload *models.Credentials `json:"body,omitempty"` }
GetCredentialsOK get client id and client secret
swagger:response getCredentialsOK
func NewGetCredentialsOK ¶
func NewGetCredentialsOK() *GetCredentialsOK
NewGetCredentialsOK creates GetCredentialsOK with default headers values
func (*GetCredentialsOK) SetPayload ¶
func (o *GetCredentialsOK) SetPayload(payload *models.Credentials)
SetPayload sets the payload to the get credentials o k response
func (*GetCredentialsOK) WithPayload ¶
func (o *GetCredentialsOK) WithPayload(payload *models.Credentials) *GetCredentialsOK
WithPayload adds the payload to the get credentials o k response
func (*GetCredentialsOK) WriteResponse ¶
func (o *GetCredentialsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCredentialsParams ¶
type GetCredentialsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*client id Required: true In: query */ ClientID string /*domain for app In: query */ Domain *string }
GetCredentialsParams contains all the bound params for the get credentials operation typically these are obtained from a http.Request
swagger:parameters GetCredentials
func NewGetCredentialsParams ¶
func NewGetCredentialsParams() GetCredentialsParams
NewGetCredentialsParams creates a new GetCredentialsParams object
There are no default values defined in the spec.
func (*GetCredentialsParams) BindRequest ¶
func (o *GetCredentialsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetCredentialsParams() beforehand.
type GetCredentialsURL ¶
type GetCredentialsURL struct { ClientID string Domain *string // contains filtered or unexported fields }
GetCredentialsURL generates an URL for the get credentials operation
func (*GetCredentialsURL) Build ¶
func (o *GetCredentialsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCredentialsURL) BuildFull ¶
func (o *GetCredentialsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCredentialsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetCredentialsURL) SetBasePath ¶
func (o *GetCredentialsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetCredentialsURL) String ¶
func (o *GetCredentialsURL) String() string
String returns the string representation of the path with query string
func (*GetCredentialsURL) StringFull ¶
func (o *GetCredentialsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCredentialsURL) WithBasePath ¶
func (o *GetCredentialsURL) WithBasePath(bp string) *GetCredentialsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetGoogleCallback ¶
type GetGoogleCallback struct { Context *middleware.Context Handler GetGoogleCallbackHandler }
GetGoogleCallback swagger:route GET /google/callback public getGoogleCallback
This API endpoint always responds ok
func NewGetGoogleCallback ¶
func NewGetGoogleCallback(ctx *middleware.Context, handler GetGoogleCallbackHandler) *GetGoogleCallback
NewGetGoogleCallback creates a new http.Handler for the get google callback operation
func (*GetGoogleCallback) ServeHTTP ¶
func (o *GetGoogleCallback) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetGoogleCallbackHandler ¶
type GetGoogleCallbackHandler interface {
Handle(GetGoogleCallbackParams) middleware.Responder
}
GetGoogleCallbackHandler interface for that can handle valid get google callback params
type GetGoogleCallbackHandlerFunc ¶
type GetGoogleCallbackHandlerFunc func(GetGoogleCallbackParams) middleware.Responder
GetGoogleCallbackHandlerFunc turns a function with the right signature into a get google callback handler
func (GetGoogleCallbackHandlerFunc) Handle ¶
func (fn GetGoogleCallbackHandlerFunc) Handle(params GetGoogleCallbackParams) middleware.Responder
Handle executing the request and returning a response
type GetGoogleCallbackInternalServerError ¶
type GetGoogleCallbackInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetGoogleCallbackInternalServerError When some error occurs
swagger:response getGoogleCallbackInternalServerError
func NewGetGoogleCallbackInternalServerError ¶
func NewGetGoogleCallbackInternalServerError() *GetGoogleCallbackInternalServerError
NewGetGoogleCallbackInternalServerError creates GetGoogleCallbackInternalServerError with default headers values
func (*GetGoogleCallbackInternalServerError) SetPayload ¶
func (o *GetGoogleCallbackInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get google callback internal server error response
func (*GetGoogleCallbackInternalServerError) WithPayload ¶
func (o *GetGoogleCallbackInternalServerError) WithPayload(payload *models.Error) *GetGoogleCallbackInternalServerError
WithPayload adds the payload to the get google callback internal server error response
func (*GetGoogleCallbackInternalServerError) WriteResponse ¶
func (o *GetGoogleCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGoogleCallbackOK ¶
GetGoogleCallbackOK ok response
swagger:response getGoogleCallbackOK
func NewGetGoogleCallbackOK ¶
func NewGetGoogleCallbackOK() *GetGoogleCallbackOK
NewGetGoogleCallbackOK creates GetGoogleCallbackOK with default headers values
func (*GetGoogleCallbackOK) SetPayload ¶
func (o *GetGoogleCallbackOK) SetPayload(payload *models.UserInfo)
SetPayload sets the payload to the get google callback o k response
func (*GetGoogleCallbackOK) WithPayload ¶
func (o *GetGoogleCallbackOK) WithPayload(payload *models.UserInfo) *GetGoogleCallbackOK
WithPayload adds the payload to the get google callback o k response
func (*GetGoogleCallbackOK) WriteResponse ¶
func (o *GetGoogleCallbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGoogleCallbackParams ¶
type GetGoogleCallbackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*client identity In: query */ Authuser *string /*consent In: query */ Prompt *string /*client scope In: query */ Scope *string /*client state In: query */ State *string }
GetGoogleCallbackParams contains all the bound params for the get google callback operation typically these are obtained from a http.Request
swagger:parameters GetGoogleCallback
func NewGetGoogleCallbackParams ¶
func NewGetGoogleCallbackParams() GetGoogleCallbackParams
NewGetGoogleCallbackParams creates a new GetGoogleCallbackParams object
There are no default values defined in the spec.
func (*GetGoogleCallbackParams) BindRequest ¶
func (o *GetGoogleCallbackParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetGoogleCallbackParams() beforehand.
type GetGoogleCallbackURL ¶
type GetGoogleCallbackURL struct { Authuser *string Prompt *string Scope *string State *string // contains filtered or unexported fields }
GetGoogleCallbackURL generates an URL for the get google callback operation
func (*GetGoogleCallbackURL) Build ¶
func (o *GetGoogleCallbackURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetGoogleCallbackURL) BuildFull ¶
func (o *GetGoogleCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetGoogleCallbackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetGoogleCallbackURL) SetBasePath ¶
func (o *GetGoogleCallbackURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetGoogleCallbackURL) String ¶
func (o *GetGoogleCallbackURL) String() string
String returns the string representation of the path with query string
func (*GetGoogleCallbackURL) StringFull ¶
func (o *GetGoogleCallbackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetGoogleCallbackURL) WithBasePath ¶
func (o *GetGoogleCallbackURL) WithBasePath(bp string) *GetGoogleCallbackURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetGoogleLogin ¶
type GetGoogleLogin struct { Context *middleware.Context Handler GetGoogleLoginHandler }
GetGoogleLogin swagger:route GET /google/login public getGoogleLogin
This API endpoint always responds ok
func NewGetGoogleLogin ¶
func NewGetGoogleLogin(ctx *middleware.Context, handler GetGoogleLoginHandler) *GetGoogleLogin
NewGetGoogleLogin creates a new http.Handler for the get google login operation
func (*GetGoogleLogin) ServeHTTP ¶
func (o *GetGoogleLogin) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetGoogleLoginHandler ¶
type GetGoogleLoginHandler interface {
Handle(GetGoogleLoginParams) middleware.Responder
}
GetGoogleLoginHandler interface for that can handle valid get google login params
type GetGoogleLoginHandlerFunc ¶
type GetGoogleLoginHandlerFunc func(GetGoogleLoginParams) middleware.Responder
GetGoogleLoginHandlerFunc turns a function with the right signature into a get google login handler
func (GetGoogleLoginHandlerFunc) Handle ¶
func (fn GetGoogleLoginHandlerFunc) Handle(params GetGoogleLoginParams) middleware.Responder
Handle executing the request and returning a response
type GetGoogleLoginInternalServerError ¶
type GetGoogleLoginInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetGoogleLoginInternalServerError When some error occurs
swagger:response getGoogleLoginInternalServerError
func NewGetGoogleLoginInternalServerError ¶
func NewGetGoogleLoginInternalServerError() *GetGoogleLoginInternalServerError
NewGetGoogleLoginInternalServerError creates GetGoogleLoginInternalServerError with default headers values
func (*GetGoogleLoginInternalServerError) SetPayload ¶
func (o *GetGoogleLoginInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get google login internal server error response
func (*GetGoogleLoginInternalServerError) WithPayload ¶
func (o *GetGoogleLoginInternalServerError) WithPayload(payload *models.Error) *GetGoogleLoginInternalServerError
WithPayload adds the payload to the get google login internal server error response
func (*GetGoogleLoginInternalServerError) WriteResponse ¶
func (o *GetGoogleLoginInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGoogleLoginOK ¶
GetGoogleLoginOK ok response
swagger:response getGoogleLoginOK
func NewGetGoogleLoginOK ¶
func NewGetGoogleLoginOK() *GetGoogleLoginOK
NewGetGoogleLoginOK creates GetGoogleLoginOK with default headers values
func (*GetGoogleLoginOK) SetPayload ¶
func (o *GetGoogleLoginOK) SetPayload(payload *models.Ok)
SetPayload sets the payload to the get google login o k response
func (*GetGoogleLoginOK) WithPayload ¶
func (o *GetGoogleLoginOK) WithPayload(payload *models.Ok) *GetGoogleLoginOK
WithPayload adds the payload to the get google login o k response
func (*GetGoogleLoginOK) WriteResponse ¶
func (o *GetGoogleLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGoogleLoginParams ¶
GetGoogleLoginParams contains all the bound params for the get google login operation typically these are obtained from a http.Request
swagger:parameters GetGoogleLogin
func NewGetGoogleLoginParams ¶
func NewGetGoogleLoginParams() GetGoogleLoginParams
NewGetGoogleLoginParams creates a new GetGoogleLoginParams object
There are no default values defined in the spec.
func (*GetGoogleLoginParams) BindRequest ¶
func (o *GetGoogleLoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetGoogleLoginParams() beforehand.
type GetGoogleLoginURL ¶
type GetGoogleLoginURL struct {
// contains filtered or unexported fields
}
GetGoogleLoginURL generates an URL for the get google login operation
func (*GetGoogleLoginURL) Build ¶
func (o *GetGoogleLoginURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetGoogleLoginURL) BuildFull ¶
func (o *GetGoogleLoginURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetGoogleLoginURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetGoogleLoginURL) SetBasePath ¶
func (o *GetGoogleLoginURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetGoogleLoginURL) String ¶
func (o *GetGoogleLoginURL) String() string
String returns the string representation of the path with query string
func (*GetGoogleLoginURL) StringFull ¶
func (o *GetGoogleLoginURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetGoogleLoginURL) WithBasePath ¶
func (o *GetGoogleLoginURL) WithBasePath(bp string) *GetGoogleLoginURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetPing ¶
type GetPing struct { Context *middleware.Context Handler GetPingHandler }
GetPing swagger:route GET /ping public getPing
This API endpoint always responds with "pong". When used over HTTP this API endpoint could also be used to measure network delays between your software and the API metrics.
func NewGetPing ¶
func NewGetPing(ctx *middleware.Context, handler GetPingHandler) *GetPing
NewGetPing creates a new http.Handler for the get ping operation
type GetPingHandler ¶
type GetPingHandler interface {
Handle(GetPingParams) middleware.Responder
}
GetPingHandler interface for that can handle valid get ping params
type GetPingHandlerFunc ¶
type GetPingHandlerFunc func(GetPingParams) middleware.Responder
GetPingHandlerFunc turns a function with the right signature into a get ping handler
func (GetPingHandlerFunc) Handle ¶
func (fn GetPingHandlerFunc) Handle(params GetPingParams) middleware.Responder
Handle executing the request and returning a response
type GetPingInternalServerError ¶
type GetPingInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetPingInternalServerError When some error occurs
swagger:response getPingInternalServerError
func NewGetPingInternalServerError ¶
func NewGetPingInternalServerError() *GetPingInternalServerError
NewGetPingInternalServerError creates GetPingInternalServerError with default headers values
func (*GetPingInternalServerError) SetPayload ¶
func (o *GetPingInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get ping internal server error response
func (*GetPingInternalServerError) WithPayload ¶
func (o *GetPingInternalServerError) WithPayload(payload *models.Error) *GetPingInternalServerError
WithPayload adds the payload to the get ping internal server error response
func (*GetPingInternalServerError) WriteResponse ¶
func (o *GetPingInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPingOK ¶
GetPingOK ping response
swagger:response getPingOK
func NewGetPingOK ¶
func NewGetPingOK() *GetPingOK
NewGetPingOK creates GetPingOK with default headers values
func (*GetPingOK) SetPayload ¶
SetPayload sets the payload to the get ping o k response
func (*GetPingOK) WithPayload ¶
WithPayload adds the payload to the get ping o k response
func (*GetPingOK) WriteResponse ¶
func (o *GetPingOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPingParams ¶
GetPingParams contains all the bound params for the get ping operation typically these are obtained from a http.Request
swagger:parameters GetPing
func NewGetPingParams ¶
func NewGetPingParams() GetPingParams
NewGetPingParams creates a new GetPingParams object
There are no default values defined in the spec.
func (*GetPingParams) BindRequest ¶
func (o *GetPingParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetPingParams() beforehand.
type GetPingURL ¶
type GetPingURL struct {
// contains filtered or unexported fields
}
GetPingURL generates an URL for the get ping operation
func (*GetPingURL) Build ¶
func (o *GetPingURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPingURL) BuildFull ¶
func (o *GetPingURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPingURL) SetBasePath ¶
func (o *GetPingURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetPingURL) String ¶
func (o *GetPingURL) String() string
String returns the string representation of the path with query string
func (*GetPingURL) StringFull ¶
func (o *GetPingURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPingURL) WithBasePath ¶
func (o *GetPingURL) WithBasePath(bp string) *GetPingURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTelegramCallback ¶
type GetTelegramCallback struct { Context *middleware.Context Handler GetTelegramCallbackHandler }
GetTelegramCallback swagger:route GET /telegram/callback public getTelegramCallback
This API endpoint always responds ok
func NewGetTelegramCallback ¶
func NewGetTelegramCallback(ctx *middleware.Context, handler GetTelegramCallbackHandler) *GetTelegramCallback
NewGetTelegramCallback creates a new http.Handler for the get telegram callback operation
func (*GetTelegramCallback) ServeHTTP ¶
func (o *GetTelegramCallback) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTelegramCallbackHandler ¶
type GetTelegramCallbackHandler interface {
Handle(GetTelegramCallbackParams) middleware.Responder
}
GetTelegramCallbackHandler interface for that can handle valid get telegram callback params
type GetTelegramCallbackHandlerFunc ¶
type GetTelegramCallbackHandlerFunc func(GetTelegramCallbackParams) middleware.Responder
GetTelegramCallbackHandlerFunc turns a function with the right signature into a get telegram callback handler
func (GetTelegramCallbackHandlerFunc) Handle ¶
func (fn GetTelegramCallbackHandlerFunc) Handle(params GetTelegramCallbackParams) middleware.Responder
Handle executing the request and returning a response
type GetTelegramCallbackInternalServerError ¶
type GetTelegramCallbackInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetTelegramCallbackInternalServerError When some error occurs
swagger:response getTelegramCallbackInternalServerError
func NewGetTelegramCallbackInternalServerError ¶
func NewGetTelegramCallbackInternalServerError() *GetTelegramCallbackInternalServerError
NewGetTelegramCallbackInternalServerError creates GetTelegramCallbackInternalServerError with default headers values
func (*GetTelegramCallbackInternalServerError) SetPayload ¶
func (o *GetTelegramCallbackInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get telegram callback internal server error response
func (*GetTelegramCallbackInternalServerError) WithPayload ¶
func (o *GetTelegramCallbackInternalServerError) WithPayload(payload *models.Error) *GetTelegramCallbackInternalServerError
WithPayload adds the payload to the get telegram callback internal server error response
func (*GetTelegramCallbackInternalServerError) WriteResponse ¶
func (o *GetTelegramCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTelegramCallbackOK ¶
type GetTelegramCallbackOK struct { /* In: Body */ Payload *models.UserInfo `json:"body,omitempty"` }
GetTelegramCallbackOK ok response
swagger:response getTelegramCallbackOK
func NewGetTelegramCallbackOK ¶
func NewGetTelegramCallbackOK() *GetTelegramCallbackOK
NewGetTelegramCallbackOK creates GetTelegramCallbackOK with default headers values
func (*GetTelegramCallbackOK) SetPayload ¶
func (o *GetTelegramCallbackOK) SetPayload(payload *models.UserInfo)
SetPayload sets the payload to the get telegram callback o k response
func (*GetTelegramCallbackOK) WithPayload ¶
func (o *GetTelegramCallbackOK) WithPayload(payload *models.UserInfo) *GetTelegramCallbackOK
WithPayload adds the payload to the get telegram callback o k response
func (*GetTelegramCallbackOK) WriteResponse ¶
func (o *GetTelegramCallbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTelegramCallbackParams ¶
type GetTelegramCallbackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*tg hash Required: true In: query */ Hash string /*tg payload Required: true In: query */ Payload string }
GetTelegramCallbackParams contains all the bound params for the get telegram callback operation typically these are obtained from a http.Request
swagger:parameters GetTelegramCallback
func NewGetTelegramCallbackParams ¶
func NewGetTelegramCallbackParams() GetTelegramCallbackParams
NewGetTelegramCallbackParams creates a new GetTelegramCallbackParams object
There are no default values defined in the spec.
func (*GetTelegramCallbackParams) BindRequest ¶
func (o *GetTelegramCallbackParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTelegramCallbackParams() beforehand.
type GetTelegramCallbackURL ¶
type GetTelegramCallbackURL struct { Hash string Payload string // contains filtered or unexported fields }
GetTelegramCallbackURL generates an URL for the get telegram callback operation
func (*GetTelegramCallbackURL) Build ¶
func (o *GetTelegramCallbackURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTelegramCallbackURL) BuildFull ¶
func (o *GetTelegramCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTelegramCallbackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTelegramCallbackURL) SetBasePath ¶
func (o *GetTelegramCallbackURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTelegramCallbackURL) String ¶
func (o *GetTelegramCallbackURL) String() string
String returns the string representation of the path with query string
func (*GetTelegramCallbackURL) StringFull ¶
func (o *GetTelegramCallbackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTelegramCallbackURL) WithBasePath ¶
func (o *GetTelegramCallbackURL) WithBasePath(bp string) *GetTelegramCallbackURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetTelegramLogin ¶
type GetTelegramLogin struct { Context *middleware.Context Handler GetTelegramLoginHandler }
GetTelegramLogin swagger:route GET /telegram/login public getTelegramLogin
This API endpoint always responds ok
func NewGetTelegramLogin ¶
func NewGetTelegramLogin(ctx *middleware.Context, handler GetTelegramLoginHandler) *GetTelegramLogin
NewGetTelegramLogin creates a new http.Handler for the get telegram login operation
func (*GetTelegramLogin) ServeHTTP ¶
func (o *GetTelegramLogin) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTelegramLoginHandler ¶
type GetTelegramLoginHandler interface {
Handle(GetTelegramLoginParams) middleware.Responder
}
GetTelegramLoginHandler interface for that can handle valid get telegram login params
type GetTelegramLoginHandlerFunc ¶
type GetTelegramLoginHandlerFunc func(GetTelegramLoginParams) middleware.Responder
GetTelegramLoginHandlerFunc turns a function with the right signature into a get telegram login handler
func (GetTelegramLoginHandlerFunc) Handle ¶
func (fn GetTelegramLoginHandlerFunc) Handle(params GetTelegramLoginParams) middleware.Responder
Handle executing the request and returning a response
type GetTelegramLoginInternalServerError ¶
type GetTelegramLoginInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetTelegramLoginInternalServerError When some error occurs
swagger:response getTelegramLoginInternalServerError
func NewGetTelegramLoginInternalServerError ¶
func NewGetTelegramLoginInternalServerError() *GetTelegramLoginInternalServerError
NewGetTelegramLoginInternalServerError creates GetTelegramLoginInternalServerError with default headers values
func (*GetTelegramLoginInternalServerError) SetPayload ¶
func (o *GetTelegramLoginInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get telegram login internal server error response
func (*GetTelegramLoginInternalServerError) WithPayload ¶
func (o *GetTelegramLoginInternalServerError) WithPayload(payload *models.Error) *GetTelegramLoginInternalServerError
WithPayload adds the payload to the get telegram login internal server error response
func (*GetTelegramLoginInternalServerError) WriteResponse ¶
func (o *GetTelegramLoginInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTelegramLoginOK ¶
GetTelegramLoginOK ok response
swagger:response getTelegramLoginOK
func NewGetTelegramLoginOK ¶
func NewGetTelegramLoginOK() *GetTelegramLoginOK
NewGetTelegramLoginOK creates GetTelegramLoginOK with default headers values
func (*GetTelegramLoginOK) SetPayload ¶
func (o *GetTelegramLoginOK) SetPayload(payload *models.Ok)
SetPayload sets the payload to the get telegram login o k response
func (*GetTelegramLoginOK) WithPayload ¶
func (o *GetTelegramLoginOK) WithPayload(payload *models.Ok) *GetTelegramLoginOK
WithPayload adds the payload to the get telegram login o k response
func (*GetTelegramLoginOK) WriteResponse ¶
func (o *GetTelegramLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTelegramLoginParams ¶
GetTelegramLoginParams contains all the bound params for the get telegram login operation typically these are obtained from a http.Request
swagger:parameters GetTelegramLogin
func NewGetTelegramLoginParams ¶
func NewGetTelegramLoginParams() GetTelegramLoginParams
NewGetTelegramLoginParams creates a new GetTelegramLoginParams object
There are no default values defined in the spec.
func (*GetTelegramLoginParams) BindRequest ¶
func (o *GetTelegramLoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetTelegramLoginParams() beforehand.
type GetTelegramLoginURL ¶
type GetTelegramLoginURL struct {
// contains filtered or unexported fields
}
GetTelegramLoginURL generates an URL for the get telegram login operation
func (*GetTelegramLoginURL) Build ¶
func (o *GetTelegramLoginURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTelegramLoginURL) BuildFull ¶
func (o *GetTelegramLoginURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTelegramLoginURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTelegramLoginURL) SetBasePath ¶
func (o *GetTelegramLoginURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetTelegramLoginURL) String ¶
func (o *GetTelegramLoginURL) String() string
String returns the string representation of the path with query string
func (*GetTelegramLoginURL) StringFull ¶
func (o *GetTelegramLoginURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTelegramLoginURL) WithBasePath ¶
func (o *GetTelegramLoginURL) WithBasePath(bp string) *GetTelegramLoginURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetValidate ¶
type GetValidate struct { Context *middleware.Context Handler GetValidateHandler }
GetValidate swagger:route GET /validate public getValidate
This API endpoint create, store and returns credentials for new user
func NewGetValidate ¶
func NewGetValidate(ctx *middleware.Context, handler GetValidateHandler) *GetValidate
NewGetValidate creates a new http.Handler for the get validate operation
func (*GetValidate) ServeHTTP ¶
func (o *GetValidate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetValidateHandler ¶
type GetValidateHandler interface {
Handle(GetValidateParams) middleware.Responder
}
GetValidateHandler interface for that can handle valid get validate params
type GetValidateHandlerFunc ¶
type GetValidateHandlerFunc func(GetValidateParams) middleware.Responder
GetValidateHandlerFunc turns a function with the right signature into a get validate handler
func (GetValidateHandlerFunc) Handle ¶
func (fn GetValidateHandlerFunc) Handle(params GetValidateParams) middleware.Responder
Handle executing the request and returning a response
type GetValidateInternalServerError ¶
type GetValidateInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetValidateInternalServerError When some error occurs
swagger:response getValidateInternalServerError
func NewGetValidateInternalServerError ¶
func NewGetValidateInternalServerError() *GetValidateInternalServerError
NewGetValidateInternalServerError creates GetValidateInternalServerError with default headers values
func (*GetValidateInternalServerError) SetPayload ¶
func (o *GetValidateInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get validate internal server error response
func (*GetValidateInternalServerError) WithPayload ¶
func (o *GetValidateInternalServerError) WithPayload(payload *models.Error) *GetValidateInternalServerError
WithPayload adds the payload to the get validate internal server error response
func (*GetValidateInternalServerError) WriteResponse ¶
func (o *GetValidateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetValidateOK ¶
GetValidateOK authorize
swagger:response getValidateOK
func NewGetValidateOK ¶
func NewGetValidateOK() *GetValidateOK
NewGetValidateOK creates GetValidateOK with default headers values
func (*GetValidateOK) SetPayload ¶
func (o *GetValidateOK) SetPayload(payload *models.Validate)
SetPayload sets the payload to the get validate o k response
func (*GetValidateOK) WithPayload ¶
func (o *GetValidateOK) WithPayload(payload *models.Validate) *GetValidateOK
WithPayload adds the payload to the get validate o k response
func (*GetValidateOK) WriteResponse ¶
func (o *GetValidateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetValidateParams ¶
type GetValidateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*access token In: query */ AccessToken *string }
GetValidateParams contains all the bound params for the get validate operation typically these are obtained from a http.Request
swagger:parameters GetValidate
func NewGetValidateParams ¶
func NewGetValidateParams() GetValidateParams
NewGetValidateParams creates a new GetValidateParams object
There are no default values defined in the spec.
func (*GetValidateParams) BindRequest ¶
func (o *GetValidateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetValidateParams() beforehand.
type GetValidateURL ¶
type GetValidateURL struct { AccessToken *string // contains filtered or unexported fields }
GetValidateURL generates an URL for the get validate operation
func (*GetValidateURL) Build ¶
func (o *GetValidateURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetValidateURL) BuildFull ¶
func (o *GetValidateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetValidateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetValidateURL) SetBasePath ¶
func (o *GetValidateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetValidateURL) String ¶
func (o *GetValidateURL) String() string
String returns the string representation of the path with query string
func (*GetValidateURL) StringFull ¶
func (o *GetValidateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetValidateURL) WithBasePath ¶
func (o *GetValidateURL) WithBasePath(bp string) *GetValidateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVkCallback ¶
type GetVkCallback struct { Context *middleware.Context Handler GetVkCallbackHandler }
GetVkCallback swagger:route GET /vk/callback public getVkCallback
This API endpoint always responds ok
func NewGetVkCallback ¶
func NewGetVkCallback(ctx *middleware.Context, handler GetVkCallbackHandler) *GetVkCallback
NewGetVkCallback creates a new http.Handler for the get vk callback operation
func (*GetVkCallback) ServeHTTP ¶
func (o *GetVkCallback) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVkCallbackHandler ¶
type GetVkCallbackHandler interface {
Handle(GetVkCallbackParams) middleware.Responder
}
GetVkCallbackHandler interface for that can handle valid get vk callback params
type GetVkCallbackHandlerFunc ¶
type GetVkCallbackHandlerFunc func(GetVkCallbackParams) middleware.Responder
GetVkCallbackHandlerFunc turns a function with the right signature into a get vk callback handler
func (GetVkCallbackHandlerFunc) Handle ¶
func (fn GetVkCallbackHandlerFunc) Handle(params GetVkCallbackParams) middleware.Responder
Handle executing the request and returning a response
type GetVkCallbackInternalServerError ¶
type GetVkCallbackInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVkCallbackInternalServerError When some error occurs
swagger:response getVkCallbackInternalServerError
func NewGetVkCallbackInternalServerError ¶
func NewGetVkCallbackInternalServerError() *GetVkCallbackInternalServerError
NewGetVkCallbackInternalServerError creates GetVkCallbackInternalServerError with default headers values
func (*GetVkCallbackInternalServerError) SetPayload ¶
func (o *GetVkCallbackInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get vk callback internal server error response
func (*GetVkCallbackInternalServerError) WithPayload ¶
func (o *GetVkCallbackInternalServerError) WithPayload(payload *models.Error) *GetVkCallbackInternalServerError
WithPayload adds the payload to the get vk callback internal server error response
func (*GetVkCallbackInternalServerError) WriteResponse ¶
func (o *GetVkCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVkCallbackOK ¶
GetVkCallbackOK ok response
swagger:response getVkCallbackOK
func NewGetVkCallbackOK ¶
func NewGetVkCallbackOK() *GetVkCallbackOK
NewGetVkCallbackOK creates GetVkCallbackOK with default headers values
func (*GetVkCallbackOK) SetPayload ¶
func (o *GetVkCallbackOK) SetPayload(payload *models.UserInfo)
SetPayload sets the payload to the get vk callback o k response
func (*GetVkCallbackOK) WithPayload ¶
func (o *GetVkCallbackOK) WithPayload(payload *models.UserInfo) *GetVkCallbackOK
WithPayload adds the payload to the get vk callback o k response
func (*GetVkCallbackOK) WriteResponse ¶
func (o *GetVkCallbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVkCallbackParams ¶
type GetVkCallbackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*access code Required: true In: query */ Code string /*client state Required: true In: query */ State string }
GetVkCallbackParams contains all the bound params for the get vk callback operation typically these are obtained from a http.Request
swagger:parameters GetVkCallback
func NewGetVkCallbackParams ¶
func NewGetVkCallbackParams() GetVkCallbackParams
NewGetVkCallbackParams creates a new GetVkCallbackParams object
There are no default values defined in the spec.
func (*GetVkCallbackParams) BindRequest ¶
func (o *GetVkCallbackParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVkCallbackParams() beforehand.
type GetVkCallbackURL ¶
GetVkCallbackURL generates an URL for the get vk callback operation
func (*GetVkCallbackURL) Build ¶
func (o *GetVkCallbackURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVkCallbackURL) BuildFull ¶
func (o *GetVkCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVkCallbackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVkCallbackURL) SetBasePath ¶
func (o *GetVkCallbackURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVkCallbackURL) String ¶
func (o *GetVkCallbackURL) String() string
String returns the string representation of the path with query string
func (*GetVkCallbackURL) StringFull ¶
func (o *GetVkCallbackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVkCallbackURL) WithBasePath ¶
func (o *GetVkCallbackURL) WithBasePath(bp string) *GetVkCallbackURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVkLogin ¶
type GetVkLogin struct { Context *middleware.Context Handler GetVkLoginHandler }
GetVkLogin swagger:route GET /vk/login public getVkLogin
This API endpoint always responds ok
func NewGetVkLogin ¶
func NewGetVkLogin(ctx *middleware.Context, handler GetVkLoginHandler) *GetVkLogin
NewGetVkLogin creates a new http.Handler for the get vk login operation
func (*GetVkLogin) ServeHTTP ¶
func (o *GetVkLogin) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVkLoginHandler ¶
type GetVkLoginHandler interface {
Handle(GetVkLoginParams) middleware.Responder
}
GetVkLoginHandler interface for that can handle valid get vk login params
type GetVkLoginHandlerFunc ¶
type GetVkLoginHandlerFunc func(GetVkLoginParams) middleware.Responder
GetVkLoginHandlerFunc turns a function with the right signature into a get vk login handler
func (GetVkLoginHandlerFunc) Handle ¶
func (fn GetVkLoginHandlerFunc) Handle(params GetVkLoginParams) middleware.Responder
Handle executing the request and returning a response
type GetVkLoginInternalServerError ¶
type GetVkLoginInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVkLoginInternalServerError When some error occurs
swagger:response getVkLoginInternalServerError
func NewGetVkLoginInternalServerError ¶
func NewGetVkLoginInternalServerError() *GetVkLoginInternalServerError
NewGetVkLoginInternalServerError creates GetVkLoginInternalServerError with default headers values
func (*GetVkLoginInternalServerError) SetPayload ¶
func (o *GetVkLoginInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get vk login internal server error response
func (*GetVkLoginInternalServerError) WithPayload ¶
func (o *GetVkLoginInternalServerError) WithPayload(payload *models.Error) *GetVkLoginInternalServerError
WithPayload adds the payload to the get vk login internal server error response
func (*GetVkLoginInternalServerError) WriteResponse ¶
func (o *GetVkLoginInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVkLoginOK ¶
GetVkLoginOK ok response
swagger:response getVkLoginOK
func NewGetVkLoginOK ¶
func NewGetVkLoginOK() *GetVkLoginOK
NewGetVkLoginOK creates GetVkLoginOK with default headers values
func (*GetVkLoginOK) SetPayload ¶
func (o *GetVkLoginOK) SetPayload(payload *models.Ok)
SetPayload sets the payload to the get vk login o k response
func (*GetVkLoginOK) WithPayload ¶
func (o *GetVkLoginOK) WithPayload(payload *models.Ok) *GetVkLoginOK
WithPayload adds the payload to the get vk login o k response
func (*GetVkLoginOK) WriteResponse ¶
func (o *GetVkLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVkLoginParams ¶
GetVkLoginParams contains all the bound params for the get vk login operation typically these are obtained from a http.Request
swagger:parameters GetVkLogin
func NewGetVkLoginParams ¶
func NewGetVkLoginParams() GetVkLoginParams
NewGetVkLoginParams creates a new GetVkLoginParams object
There are no default values defined in the spec.
func (*GetVkLoginParams) BindRequest ¶
func (o *GetVkLoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVkLoginParams() beforehand.
type GetVkLoginURL ¶
type GetVkLoginURL struct {
// contains filtered or unexported fields
}
GetVkLoginURL generates an URL for the get vk login operation
func (*GetVkLoginURL) Build ¶
func (o *GetVkLoginURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVkLoginURL) BuildFull ¶
func (o *GetVkLoginURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVkLoginURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVkLoginURL) SetBasePath ¶
func (o *GetVkLoginURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVkLoginURL) String ¶
func (o *GetVkLoginURL) String() string
String returns the string representation of the path with query string
func (*GetVkLoginURL) StringFull ¶
func (o *GetVkLoginURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVkLoginURL) WithBasePath ¶
func (o *GetVkLoginURL) WithBasePath(bp string) *GetVkLoginURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetYandexCallback ¶
type GetYandexCallback struct { Context *middleware.Context Handler GetYandexCallbackHandler }
GetYandexCallback swagger:route GET /yandex/callback public getYandexCallback
This API endpoint always responds ok
func NewGetYandexCallback ¶
func NewGetYandexCallback(ctx *middleware.Context, handler GetYandexCallbackHandler) *GetYandexCallback
NewGetYandexCallback creates a new http.Handler for the get yandex callback operation
func (*GetYandexCallback) ServeHTTP ¶
func (o *GetYandexCallback) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetYandexCallbackHandler ¶
type GetYandexCallbackHandler interface {
Handle(GetYandexCallbackParams) middleware.Responder
}
GetYandexCallbackHandler interface for that can handle valid get yandex callback params
type GetYandexCallbackHandlerFunc ¶
type GetYandexCallbackHandlerFunc func(GetYandexCallbackParams) middleware.Responder
GetYandexCallbackHandlerFunc turns a function with the right signature into a get yandex callback handler
func (GetYandexCallbackHandlerFunc) Handle ¶
func (fn GetYandexCallbackHandlerFunc) Handle(params GetYandexCallbackParams) middleware.Responder
Handle executing the request and returning a response
type GetYandexCallbackInternalServerError ¶
type GetYandexCallbackInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetYandexCallbackInternalServerError When some error occurs
swagger:response getYandexCallbackInternalServerError
func NewGetYandexCallbackInternalServerError ¶
func NewGetYandexCallbackInternalServerError() *GetYandexCallbackInternalServerError
NewGetYandexCallbackInternalServerError creates GetYandexCallbackInternalServerError with default headers values
func (*GetYandexCallbackInternalServerError) SetPayload ¶
func (o *GetYandexCallbackInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get yandex callback internal server error response
func (*GetYandexCallbackInternalServerError) WithPayload ¶
func (o *GetYandexCallbackInternalServerError) WithPayload(payload *models.Error) *GetYandexCallbackInternalServerError
WithPayload adds the payload to the get yandex callback internal server error response
func (*GetYandexCallbackInternalServerError) WriteResponse ¶
func (o *GetYandexCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetYandexCallbackOK ¶
GetYandexCallbackOK ok response
swagger:response getYandexCallbackOK
func NewGetYandexCallbackOK ¶
func NewGetYandexCallbackOK() *GetYandexCallbackOK
NewGetYandexCallbackOK creates GetYandexCallbackOK with default headers values
func (*GetYandexCallbackOK) SetPayload ¶
func (o *GetYandexCallbackOK) SetPayload(payload *models.UserInfo)
SetPayload sets the payload to the get yandex callback o k response
func (*GetYandexCallbackOK) WithPayload ¶
func (o *GetYandexCallbackOK) WithPayload(payload *models.UserInfo) *GetYandexCallbackOK
WithPayload adds the payload to the get yandex callback o k response
func (*GetYandexCallbackOK) WriteResponse ¶
func (o *GetYandexCallbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetYandexCallbackParams ¶
type GetYandexCallbackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*client identity In: query */ Authuser *string /*consent In: query */ Prompt *string /*client scope In: query */ Scope *string /*client state In: query */ State *string }
GetYandexCallbackParams contains all the bound params for the get yandex callback operation typically these are obtained from a http.Request
swagger:parameters GetYandexCallback
func NewGetYandexCallbackParams ¶
func NewGetYandexCallbackParams() GetYandexCallbackParams
NewGetYandexCallbackParams creates a new GetYandexCallbackParams object
There are no default values defined in the spec.
func (*GetYandexCallbackParams) BindRequest ¶
func (o *GetYandexCallbackParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetYandexCallbackParams() beforehand.
type GetYandexCallbackURL ¶
type GetYandexCallbackURL struct { Authuser *string Prompt *string Scope *string State *string // contains filtered or unexported fields }
GetYandexCallbackURL generates an URL for the get yandex callback operation
func (*GetYandexCallbackURL) Build ¶
func (o *GetYandexCallbackURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetYandexCallbackURL) BuildFull ¶
func (o *GetYandexCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetYandexCallbackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetYandexCallbackURL) SetBasePath ¶
func (o *GetYandexCallbackURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetYandexCallbackURL) String ¶
func (o *GetYandexCallbackURL) String() string
String returns the string representation of the path with query string
func (*GetYandexCallbackURL) StringFull ¶
func (o *GetYandexCallbackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetYandexCallbackURL) WithBasePath ¶
func (o *GetYandexCallbackURL) WithBasePath(bp string) *GetYandexCallbackURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetYandexLogin ¶
type GetYandexLogin struct { Context *middleware.Context Handler GetYandexLoginHandler }
GetYandexLogin swagger:route GET /yandex/login public getYandexLogin
This API endpoint always responds ok
func NewGetYandexLogin ¶
func NewGetYandexLogin(ctx *middleware.Context, handler GetYandexLoginHandler) *GetYandexLogin
NewGetYandexLogin creates a new http.Handler for the get yandex login operation
func (*GetYandexLogin) ServeHTTP ¶
func (o *GetYandexLogin) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetYandexLoginHandler ¶
type GetYandexLoginHandler interface {
Handle(GetYandexLoginParams) middleware.Responder
}
GetYandexLoginHandler interface for that can handle valid get yandex login params
type GetYandexLoginHandlerFunc ¶
type GetYandexLoginHandlerFunc func(GetYandexLoginParams) middleware.Responder
GetYandexLoginHandlerFunc turns a function with the right signature into a get yandex login handler
func (GetYandexLoginHandlerFunc) Handle ¶
func (fn GetYandexLoginHandlerFunc) Handle(params GetYandexLoginParams) middleware.Responder
Handle executing the request and returning a response
type GetYandexLoginInternalServerError ¶
type GetYandexLoginInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetYandexLoginInternalServerError When some error occurs
swagger:response getYandexLoginInternalServerError
func NewGetYandexLoginInternalServerError ¶
func NewGetYandexLoginInternalServerError() *GetYandexLoginInternalServerError
NewGetYandexLoginInternalServerError creates GetYandexLoginInternalServerError with default headers values
func (*GetYandexLoginInternalServerError) SetPayload ¶
func (o *GetYandexLoginInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get yandex login internal server error response
func (*GetYandexLoginInternalServerError) WithPayload ¶
func (o *GetYandexLoginInternalServerError) WithPayload(payload *models.Error) *GetYandexLoginInternalServerError
WithPayload adds the payload to the get yandex login internal server error response
func (*GetYandexLoginInternalServerError) WriteResponse ¶
func (o *GetYandexLoginInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetYandexLoginOK ¶
GetYandexLoginOK ok response
swagger:response getYandexLoginOK
func NewGetYandexLoginOK ¶
func NewGetYandexLoginOK() *GetYandexLoginOK
NewGetYandexLoginOK creates GetYandexLoginOK with default headers values
func (*GetYandexLoginOK) SetPayload ¶
func (o *GetYandexLoginOK) SetPayload(payload *models.Ok)
SetPayload sets the payload to the get yandex login o k response
func (*GetYandexLoginOK) WithPayload ¶
func (o *GetYandexLoginOK) WithPayload(payload *models.Ok) *GetYandexLoginOK
WithPayload adds the payload to the get yandex login o k response
func (*GetYandexLoginOK) WriteResponse ¶
func (o *GetYandexLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetYandexLoginParams ¶
GetYandexLoginParams contains all the bound params for the get yandex login operation typically these are obtained from a http.Request
swagger:parameters GetYandexLogin
func NewGetYandexLoginParams ¶
func NewGetYandexLoginParams() GetYandexLoginParams
NewGetYandexLoginParams creates a new GetYandexLoginParams object
There are no default values defined in the spec.
func (*GetYandexLoginParams) BindRequest ¶
func (o *GetYandexLoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetYandexLoginParams() beforehand.
type GetYandexLoginURL ¶
type GetYandexLoginURL struct {
// contains filtered or unexported fields
}
GetYandexLoginURL generates an URL for the get yandex login operation
func (*GetYandexLoginURL) Build ¶
func (o *GetYandexLoginURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetYandexLoginURL) BuildFull ¶
func (o *GetYandexLoginURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetYandexLoginURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetYandexLoginURL) SetBasePath ¶
func (o *GetYandexLoginURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetYandexLoginURL) String ¶
func (o *GetYandexLoginURL) String() string
String returns the string representation of the path with query string
func (*GetYandexLoginURL) StringFull ¶
func (o *GetYandexLoginURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetYandexLoginURL) WithBasePath ¶
func (o *GetYandexLoginURL) WithBasePath(bp string) *GetYandexLoginURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostToken ¶
type PostToken struct { Context *middleware.Context Handler PostTokenHandler }
PostToken swagger:route POST /token public postToken
This API endpoint create, store and returns credentials for new user
func NewPostToken ¶
func NewPostToken(ctx *middleware.Context, handler PostTokenHandler) *PostToken
NewPostToken creates a new http.Handler for the post token operation
type PostTokenHandler ¶
type PostTokenHandler interface {
Handle(PostTokenParams) middleware.Responder
}
PostTokenHandler interface for that can handle valid post token params
type PostTokenHandlerFunc ¶
type PostTokenHandlerFunc func(PostTokenParams) middleware.Responder
PostTokenHandlerFunc turns a function with the right signature into a post token handler
func (PostTokenHandlerFunc) Handle ¶
func (fn PostTokenHandlerFunc) Handle(params PostTokenParams) middleware.Responder
Handle executing the request and returning a response
type PostTokenInternalServerError ¶
type PostTokenInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PostTokenInternalServerError When some error occurs
swagger:response postTokenInternalServerError
func NewPostTokenInternalServerError ¶
func NewPostTokenInternalServerError() *PostTokenInternalServerError
NewPostTokenInternalServerError creates PostTokenInternalServerError with default headers values
func (*PostTokenInternalServerError) SetPayload ¶
func (o *PostTokenInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the post token internal server error response
func (*PostTokenInternalServerError) WithPayload ¶
func (o *PostTokenInternalServerError) WithPayload(payload *models.Error) *PostTokenInternalServerError
WithPayload adds the payload to the post token internal server error response
func (*PostTokenInternalServerError) WriteResponse ¶
func (o *PostTokenInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostTokenOK ¶
PostTokenOK get client id and client secret
swagger:response postTokenOK
func NewPostTokenOK ¶
func NewPostTokenOK() *PostTokenOK
NewPostTokenOK creates PostTokenOK with default headers values
func (*PostTokenOK) SetPayload ¶
func (o *PostTokenOK) SetPayload(payload *models.Token)
SetPayload sets the payload to the post token o k response
func (*PostTokenOK) WithPayload ¶
func (o *PostTokenOK) WithPayload(payload *models.Token) *PostTokenOK
WithPayload adds the payload to the post token o k response
func (*PostTokenOK) WriteResponse ¶
func (o *PostTokenOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostTokenParams ¶
type PostTokenParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*client id Required: true In: formData */ ClientID string /*client secret Required: true In: formData */ ClientSecret string /*get domain for credentials In: formData */ Domain *string /*grant type credentials In: formData */ GrantType *string /*get credentials In: formData */ Scope *string }
PostTokenParams contains all the bound params for the post token operation typically these are obtained from a http.Request
swagger:parameters PostToken
func NewPostTokenParams ¶
func NewPostTokenParams() PostTokenParams
NewPostTokenParams creates a new PostTokenParams object
There are no default values defined in the spec.
func (*PostTokenParams) BindRequest ¶
func (o *PostTokenParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostTokenParams() beforehand.
type PostTokenURL ¶
type PostTokenURL struct {
// contains filtered or unexported fields
}
PostTokenURL generates an URL for the post token operation
func (*PostTokenURL) Build ¶
func (o *PostTokenURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostTokenURL) BuildFull ¶
func (o *PostTokenURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostTokenURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostTokenURL) SetBasePath ¶
func (o *PostTokenURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostTokenURL) String ¶
func (o *PostTokenURL) String() string
String returns the string representation of the path with query string
func (*PostTokenURL) StringFull ¶
func (o *PostTokenURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostTokenURL) WithBasePath ¶
func (o *PostTokenURL) WithBasePath(bp string) *PostTokenURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_authorize.go
- get_authorize_parameters.go
- get_authorize_responses.go
- get_authorize_urlbuilder.go
- get_credentials.go
- get_credentials_parameters.go
- get_credentials_responses.go
- get_credentials_urlbuilder.go
- get_google_callback.go
- get_google_callback_parameters.go
- get_google_callback_responses.go
- get_google_callback_urlbuilder.go
- get_google_login.go
- get_google_login_parameters.go
- get_google_login_responses.go
- get_google_login_urlbuilder.go
- get_ping.go
- get_ping_parameters.go
- get_ping_responses.go
- get_ping_urlbuilder.go
- get_telegram_callback.go
- get_telegram_callback_parameters.go
- get_telegram_callback_responses.go
- get_telegram_callback_urlbuilder.go
- get_telegram_login.go
- get_telegram_login_parameters.go
- get_telegram_login_responses.go
- get_telegram_login_urlbuilder.go
- get_validate.go
- get_validate_parameters.go
- get_validate_responses.go
- get_validate_urlbuilder.go
- get_vk_callback.go
- get_vk_callback_parameters.go
- get_vk_callback_responses.go
- get_vk_callback_urlbuilder.go
- get_vk_login.go
- get_vk_login_parameters.go
- get_vk_login_responses.go
- get_vk_login_urlbuilder.go
- get_yandex_callback.go
- get_yandex_callback_parameters.go
- get_yandex_callback_responses.go
- get_yandex_callback_urlbuilder.go
- get_yandex_login.go
- get_yandex_login_parameters.go
- get_yandex_login_responses.go
- get_yandex_login_urlbuilder.go
- post_token.go
- post_token_parameters.go
- post_token_responses.go
- post_token_urlbuilder.go