Documentation
¶
Index ¶
- Constants
- type GetFrontendAuthCallback
- type GetFrontendAuthCallbackBadRequest
- func (o *GetFrontendAuthCallbackBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthCallbackBadRequest) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackBadRequest
- func (o *GetFrontendAuthCallbackBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFrontendAuthCallbackHandler
- type GetFrontendAuthCallbackHandlerFunc
- type GetFrontendAuthCallbackInternalServerError
- func (o *GetFrontendAuthCallbackInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthCallbackInternalServerError) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackInternalServerError
- func (o *GetFrontendAuthCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFrontendAuthCallbackNotFound
- func (o *GetFrontendAuthCallbackNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthCallbackNotFound) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackNotFound
- func (o *GetFrontendAuthCallbackNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFrontendAuthCallbackOK
- type GetFrontendAuthCallbackParams
- type GetFrontendAuthCallbackURL
- func (o *GetFrontendAuthCallbackURL) Build() (*url.URL, error)
- func (o *GetFrontendAuthCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetFrontendAuthCallbackURL) Must(u *url.URL, err error) *url.URL
- func (o *GetFrontendAuthCallbackURL) SetBasePath(bp string)
- func (o *GetFrontendAuthCallbackURL) String() string
- func (o *GetFrontendAuthCallbackURL) StringFull(scheme, host string) string
- func (o *GetFrontendAuthCallbackURL) WithBasePath(bp string) *GetFrontendAuthCallbackURL
- type GetFrontendAuthCallbackUnauthorized
- func (o *GetFrontendAuthCallbackUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthCallbackUnauthorized) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackUnauthorized
- func (o *GetFrontendAuthCallbackUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFrontendAuthWalletConnect
- type GetFrontendAuthWalletConnectBadRequest
- func (o *GetFrontendAuthWalletConnectBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthWalletConnectBadRequest) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectBadRequest
- func (o *GetFrontendAuthWalletConnectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFrontendAuthWalletConnectHandler
- type GetFrontendAuthWalletConnectHandlerFunc
- type GetFrontendAuthWalletConnectInternalServerError
- func (o *GetFrontendAuthWalletConnectInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthWalletConnectInternalServerError) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectInternalServerError
- func (o *GetFrontendAuthWalletConnectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFrontendAuthWalletConnectNotFound
- func (o *GetFrontendAuthWalletConnectNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthWalletConnectNotFound) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectNotFound
- func (o *GetFrontendAuthWalletConnectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFrontendAuthWalletConnectOK
- type GetFrontendAuthWalletConnectParams
- type GetFrontendAuthWalletConnectURL
- func (o *GetFrontendAuthWalletConnectURL) Build() (*url.URL, error)
- func (o *GetFrontendAuthWalletConnectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetFrontendAuthWalletConnectURL) Must(u *url.URL, err error) *url.URL
- func (o *GetFrontendAuthWalletConnectURL) SetBasePath(bp string)
- func (o *GetFrontendAuthWalletConnectURL) String() string
- func (o *GetFrontendAuthWalletConnectURL) StringFull(scheme, host string) string
- func (o *GetFrontendAuthWalletConnectURL) WithBasePath(bp string) *GetFrontendAuthWalletConnectURL
- type GetFrontendAuthWalletConnectUnauthorized
- func (o *GetFrontendAuthWalletConnectUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *GetFrontendAuthWalletConnectUnauthorized) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectUnauthorized
- func (o *GetFrontendAuthWalletConnectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostFrontendAuthWalletConnect
- type PostFrontendAuthWalletConnectBadRequest
- func (o *PostFrontendAuthWalletConnectBadRequest) SetPayload(payload *models.ErrorResponse)
- func (o *PostFrontendAuthWalletConnectBadRequest) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectBadRequest
- func (o *PostFrontendAuthWalletConnectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostFrontendAuthWalletConnectHandler
- type PostFrontendAuthWalletConnectHandlerFunc
- type PostFrontendAuthWalletConnectInternalServerError
- func (o *PostFrontendAuthWalletConnectInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *PostFrontendAuthWalletConnectInternalServerError) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectInternalServerError
- func (o *PostFrontendAuthWalletConnectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostFrontendAuthWalletConnectNotFound
- func (o *PostFrontendAuthWalletConnectNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *PostFrontendAuthWalletConnectNotFound) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectNotFound
- func (o *PostFrontendAuthWalletConnectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostFrontendAuthWalletConnectOK
- func (o *PostFrontendAuthWalletConnectOK) SetPayload(payload *models.LoginMetamaskOK)
- func (o *PostFrontendAuthWalletConnectOK) WithPayload(payload *models.LoginMetamaskOK) *PostFrontendAuthWalletConnectOK
- func (o *PostFrontendAuthWalletConnectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostFrontendAuthWalletConnectParams
- type PostFrontendAuthWalletConnectURL
- func (o *PostFrontendAuthWalletConnectURL) Build() (*url.URL, error)
- func (o *PostFrontendAuthWalletConnectURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostFrontendAuthWalletConnectURL) Must(u *url.URL, err error) *url.URL
- func (o *PostFrontendAuthWalletConnectURL) SetBasePath(bp string)
- func (o *PostFrontendAuthWalletConnectURL) String() string
- func (o *PostFrontendAuthWalletConnectURL) StringFull(scheme, host string) string
- func (o *PostFrontendAuthWalletConnectURL) WithBasePath(bp string) *PostFrontendAuthWalletConnectURL
- type PostFrontendAuthWalletConnectUnauthorized
- func (o *PostFrontendAuthWalletConnectUnauthorized) SetPayload(payload *models.ErrorResponse)
- func (o *PostFrontendAuthWalletConnectUnauthorized) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectUnauthorized
- func (o *PostFrontendAuthWalletConnectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GetFrontendAuthCallbackBadRequestCode int = 400
GetFrontendAuthCallbackBadRequestCode is the HTTP code returned for type GetFrontendAuthCallbackBadRequest
const GetFrontendAuthCallbackInternalServerErrorCode int = 500
GetFrontendAuthCallbackInternalServerErrorCode is the HTTP code returned for type GetFrontendAuthCallbackInternalServerError
const GetFrontendAuthCallbackNotFoundCode int = 404
GetFrontendAuthCallbackNotFoundCode is the HTTP code returned for type GetFrontendAuthCallbackNotFound
const GetFrontendAuthCallbackOKCode int = 200
GetFrontendAuthCallbackOKCode is the HTTP code returned for type GetFrontendAuthCallbackOK
GetFrontendAuthCallbackUnauthorizedCode is the HTTP code returned for type GetFrontendAuthCallbackUnauthorized
const GetFrontendAuthWalletConnectBadRequestCode int = 400
GetFrontendAuthWalletConnectBadRequestCode is the HTTP code returned for type GetFrontendAuthWalletConnectBadRequest
const GetFrontendAuthWalletConnectInternalServerErrorCode int = 500
GetFrontendAuthWalletConnectInternalServerErrorCode is the HTTP code returned for type GetFrontendAuthWalletConnectInternalServerError
const GetFrontendAuthWalletConnectNotFoundCode int = 404
GetFrontendAuthWalletConnectNotFoundCode is the HTTP code returned for type GetFrontendAuthWalletConnectNotFound
const GetFrontendAuthWalletConnectOKCode int = 200
GetFrontendAuthWalletConnectOKCode is the HTTP code returned for type GetFrontendAuthWalletConnectOK
GetFrontendAuthWalletConnectUnauthorizedCode is the HTTP code returned for type GetFrontendAuthWalletConnectUnauthorized
const PostFrontendAuthWalletConnectBadRequestCode int = 400
PostFrontendAuthWalletConnectBadRequestCode is the HTTP code returned for type PostFrontendAuthWalletConnectBadRequest
const PostFrontendAuthWalletConnectInternalServerErrorCode int = 500
PostFrontendAuthWalletConnectInternalServerErrorCode is the HTTP code returned for type PostFrontendAuthWalletConnectInternalServerError
const PostFrontendAuthWalletConnectNotFoundCode int = 404
PostFrontendAuthWalletConnectNotFoundCode is the HTTP code returned for type PostFrontendAuthWalletConnectNotFound
const PostFrontendAuthWalletConnectOKCode int = 200
PostFrontendAuthWalletConnectOKCode is the HTTP code returned for type PostFrontendAuthWalletConnectOK
PostFrontendAuthWalletConnectUnauthorizedCode is the HTTP code returned for type PostFrontendAuthWalletConnectUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetFrontendAuthCallback ¶
type GetFrontendAuthCallback struct {
Context *middleware.Context
Handler GetFrontendAuthCallbackHandler
}
GetFrontendAuthCallback swagger:route GET /frontend/auth/callback Auth getFrontendAuthCallback
oauth2 callback from provider
func NewGetFrontendAuthCallback ¶
func NewGetFrontendAuthCallback(ctx *middleware.Context, handler GetFrontendAuthCallbackHandler) *GetFrontendAuthCallback
NewGetFrontendAuthCallback creates a new http.Handler for the get frontend auth callback operation
func (*GetFrontendAuthCallback) ServeHTTP ¶
func (o *GetFrontendAuthCallback) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetFrontendAuthCallbackBadRequest ¶
type GetFrontendAuthCallbackBadRequest struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthCallbackBadRequest Bad request due to missing or invalid parameters.
swagger:response getFrontendAuthCallbackBadRequest
func NewGetFrontendAuthCallbackBadRequest ¶
func NewGetFrontendAuthCallbackBadRequest() *GetFrontendAuthCallbackBadRequest
NewGetFrontendAuthCallbackBadRequest creates GetFrontendAuthCallbackBadRequest with default headers values
func (*GetFrontendAuthCallbackBadRequest) SetPayload ¶
func (o *GetFrontendAuthCallbackBadRequest) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth callback bad request response
func (*GetFrontendAuthCallbackBadRequest) WithPayload ¶
func (o *GetFrontendAuthCallbackBadRequest) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackBadRequest
WithPayload adds the payload to the get frontend auth callback bad request response
func (*GetFrontendAuthCallbackBadRequest) WriteResponse ¶
func (o *GetFrontendAuthCallbackBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthCallbackHandler ¶
type GetFrontendAuthCallbackHandler interface {
Handle(GetFrontendAuthCallbackParams) middleware.Responder
}
GetFrontendAuthCallbackHandler interface for that can handle valid get frontend auth callback params
type GetFrontendAuthCallbackHandlerFunc ¶
type GetFrontendAuthCallbackHandlerFunc func(GetFrontendAuthCallbackParams) middleware.Responder
GetFrontendAuthCallbackHandlerFunc turns a function with the right signature into a get frontend auth callback handler
func (GetFrontendAuthCallbackHandlerFunc) Handle ¶
func (fn GetFrontendAuthCallbackHandlerFunc) Handle(params GetFrontendAuthCallbackParams) middleware.Responder
Handle executing the request and returning a response
type GetFrontendAuthCallbackInternalServerError ¶
type GetFrontendAuthCallbackInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthCallbackInternalServerError Internal server error.
swagger:response getFrontendAuthCallbackInternalServerError
func NewGetFrontendAuthCallbackInternalServerError ¶
func NewGetFrontendAuthCallbackInternalServerError() *GetFrontendAuthCallbackInternalServerError
NewGetFrontendAuthCallbackInternalServerError creates GetFrontendAuthCallbackInternalServerError with default headers values
func (*GetFrontendAuthCallbackInternalServerError) SetPayload ¶
func (o *GetFrontendAuthCallbackInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth callback internal server error response
func (*GetFrontendAuthCallbackInternalServerError) WithPayload ¶
func (o *GetFrontendAuthCallbackInternalServerError) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackInternalServerError
WithPayload adds the payload to the get frontend auth callback internal server error response
func (*GetFrontendAuthCallbackInternalServerError) WriteResponse ¶
func (o *GetFrontendAuthCallbackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthCallbackNotFound ¶
type GetFrontendAuthCallbackNotFound struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthCallbackNotFound Not found. The requested resource could not be found.
swagger:response getFrontendAuthCallbackNotFound
func NewGetFrontendAuthCallbackNotFound ¶
func NewGetFrontendAuthCallbackNotFound() *GetFrontendAuthCallbackNotFound
NewGetFrontendAuthCallbackNotFound creates GetFrontendAuthCallbackNotFound with default headers values
func (*GetFrontendAuthCallbackNotFound) SetPayload ¶
func (o *GetFrontendAuthCallbackNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth callback not found response
func (*GetFrontendAuthCallbackNotFound) WithPayload ¶
func (o *GetFrontendAuthCallbackNotFound) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackNotFound
WithPayload adds the payload to the get frontend auth callback not found response
func (*GetFrontendAuthCallbackNotFound) WriteResponse ¶
func (o *GetFrontendAuthCallbackNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthCallbackOK ¶
type GetFrontendAuthCallbackOK struct {
/*
In: Body
*/
Payload *models.Callback `json:"body,omitempty"`
}
GetFrontendAuthCallbackOK callback from oauth
swagger:response getFrontendAuthCallbackOK
func NewGetFrontendAuthCallbackOK ¶
func NewGetFrontendAuthCallbackOK() *GetFrontendAuthCallbackOK
NewGetFrontendAuthCallbackOK creates GetFrontendAuthCallbackOK with default headers values
func (*GetFrontendAuthCallbackOK) SetPayload ¶
func (o *GetFrontendAuthCallbackOK) SetPayload(payload *models.Callback)
SetPayload sets the payload to the get frontend auth callback o k response
func (*GetFrontendAuthCallbackOK) WithPayload ¶
func (o *GetFrontendAuthCallbackOK) WithPayload(payload *models.Callback) *GetFrontendAuthCallbackOK
WithPayload adds the payload to the get frontend auth callback o k response
func (*GetFrontendAuthCallbackOK) WriteResponse ¶
func (o *GetFrontendAuthCallbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthCallbackParams ¶
type GetFrontendAuthCallbackParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*code
In: query
*/
Code *string
/*state
In: query
*/
State *string
}
GetFrontendAuthCallbackParams contains all the bound params for the get frontend auth callback operation typically these are obtained from a http.Request
swagger:parameters GetFrontendAuthCallback
func NewGetFrontendAuthCallbackParams ¶
func NewGetFrontendAuthCallbackParams() GetFrontendAuthCallbackParams
NewGetFrontendAuthCallbackParams creates a new GetFrontendAuthCallbackParams object
There are no default values defined in the spec.
func (*GetFrontendAuthCallbackParams) BindRequest ¶
func (o *GetFrontendAuthCallbackParams) 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 NewGetFrontendAuthCallbackParams() beforehand.
type GetFrontendAuthCallbackURL ¶
type GetFrontendAuthCallbackURL struct {
Code *string
State *string
// contains filtered or unexported fields
}
GetFrontendAuthCallbackURL generates an URL for the get frontend auth callback operation
func (*GetFrontendAuthCallbackURL) Build ¶
func (o *GetFrontendAuthCallbackURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetFrontendAuthCallbackURL) BuildFull ¶
func (o *GetFrontendAuthCallbackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetFrontendAuthCallbackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetFrontendAuthCallbackURL) SetBasePath ¶
func (o *GetFrontendAuthCallbackURL) 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 (*GetFrontendAuthCallbackURL) String ¶
func (o *GetFrontendAuthCallbackURL) String() string
String returns the string representation of the path with query string
func (*GetFrontendAuthCallbackURL) StringFull ¶
func (o *GetFrontendAuthCallbackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetFrontendAuthCallbackURL) WithBasePath ¶
func (o *GetFrontendAuthCallbackURL) WithBasePath(bp string) *GetFrontendAuthCallbackURL
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 GetFrontendAuthCallbackUnauthorized ¶
type GetFrontendAuthCallbackUnauthorized struct {
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthCallbackUnauthorized Unauthorized. The request is missing valid authentication.
swagger:response getFrontendAuthCallbackUnauthorized
func NewGetFrontendAuthCallbackUnauthorized ¶
func NewGetFrontendAuthCallbackUnauthorized() *GetFrontendAuthCallbackUnauthorized
NewGetFrontendAuthCallbackUnauthorized creates GetFrontendAuthCallbackUnauthorized with default headers values
func (*GetFrontendAuthCallbackUnauthorized) SetPayload ¶
func (o *GetFrontendAuthCallbackUnauthorized) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth callback unauthorized response
func (*GetFrontendAuthCallbackUnauthorized) WithPayload ¶
func (o *GetFrontendAuthCallbackUnauthorized) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthCallbackUnauthorized
WithPayload adds the payload to the get frontend auth callback unauthorized response
func (*GetFrontendAuthCallbackUnauthorized) WriteResponse ¶
func (o *GetFrontendAuthCallbackUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthWalletConnect ¶
type GetFrontendAuthWalletConnect struct {
Context *middleware.Context
Handler GetFrontendAuthWalletConnectHandler
}
GetFrontendAuthWalletConnect swagger:route GET /frontend/auth/wallet-connect auth getFrontendAuthWalletConnect
This API endpoint create, store and returns credentials for new user
func NewGetFrontendAuthWalletConnect ¶
func NewGetFrontendAuthWalletConnect(ctx *middleware.Context, handler GetFrontendAuthWalletConnectHandler) *GetFrontendAuthWalletConnect
NewGetFrontendAuthWalletConnect creates a new http.Handler for the get frontend auth wallet connect operation
func (*GetFrontendAuthWalletConnect) ServeHTTP ¶
func (o *GetFrontendAuthWalletConnect) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetFrontendAuthWalletConnectBadRequest ¶
type GetFrontendAuthWalletConnectBadRequest struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthWalletConnectBadRequest Bad request due to missing or invalid parameters.
swagger:response getFrontendAuthWalletConnectBadRequest
func NewGetFrontendAuthWalletConnectBadRequest ¶
func NewGetFrontendAuthWalletConnectBadRequest() *GetFrontendAuthWalletConnectBadRequest
NewGetFrontendAuthWalletConnectBadRequest creates GetFrontendAuthWalletConnectBadRequest with default headers values
func (*GetFrontendAuthWalletConnectBadRequest) SetPayload ¶
func (o *GetFrontendAuthWalletConnectBadRequest) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth wallet connect bad request response
func (*GetFrontendAuthWalletConnectBadRequest) WithPayload ¶
func (o *GetFrontendAuthWalletConnectBadRequest) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectBadRequest
WithPayload adds the payload to the get frontend auth wallet connect bad request response
func (*GetFrontendAuthWalletConnectBadRequest) WriteResponse ¶
func (o *GetFrontendAuthWalletConnectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthWalletConnectHandler ¶
type GetFrontendAuthWalletConnectHandler interface {
Handle(GetFrontendAuthWalletConnectParams, *models.Principal) middleware.Responder
}
GetFrontendAuthWalletConnectHandler interface for that can handle valid get frontend auth wallet connect params
type GetFrontendAuthWalletConnectHandlerFunc ¶
type GetFrontendAuthWalletConnectHandlerFunc func(GetFrontendAuthWalletConnectParams, *models.Principal) middleware.Responder
GetFrontendAuthWalletConnectHandlerFunc turns a function with the right signature into a get frontend auth wallet connect handler
func (GetFrontendAuthWalletConnectHandlerFunc) Handle ¶
func (fn GetFrontendAuthWalletConnectHandlerFunc) Handle(params GetFrontendAuthWalletConnectParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetFrontendAuthWalletConnectInternalServerError ¶
type GetFrontendAuthWalletConnectInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthWalletConnectInternalServerError Internal server error.
swagger:response getFrontendAuthWalletConnectInternalServerError
func NewGetFrontendAuthWalletConnectInternalServerError ¶
func NewGetFrontendAuthWalletConnectInternalServerError() *GetFrontendAuthWalletConnectInternalServerError
NewGetFrontendAuthWalletConnectInternalServerError creates GetFrontendAuthWalletConnectInternalServerError with default headers values
func (*GetFrontendAuthWalletConnectInternalServerError) SetPayload ¶
func (o *GetFrontendAuthWalletConnectInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth wallet connect internal server error response
func (*GetFrontendAuthWalletConnectInternalServerError) WithPayload ¶
func (o *GetFrontendAuthWalletConnectInternalServerError) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectInternalServerError
WithPayload adds the payload to the get frontend auth wallet connect internal server error response
func (*GetFrontendAuthWalletConnectInternalServerError) WriteResponse ¶
func (o *GetFrontendAuthWalletConnectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthWalletConnectNotFound ¶
type GetFrontendAuthWalletConnectNotFound struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthWalletConnectNotFound Not found. The requested resource could not be found.
swagger:response getFrontendAuthWalletConnectNotFound
func NewGetFrontendAuthWalletConnectNotFound ¶
func NewGetFrontendAuthWalletConnectNotFound() *GetFrontendAuthWalletConnectNotFound
NewGetFrontendAuthWalletConnectNotFound creates GetFrontendAuthWalletConnectNotFound with default headers values
func (*GetFrontendAuthWalletConnectNotFound) SetPayload ¶
func (o *GetFrontendAuthWalletConnectNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth wallet connect not found response
func (*GetFrontendAuthWalletConnectNotFound) WithPayload ¶
func (o *GetFrontendAuthWalletConnectNotFound) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectNotFound
WithPayload adds the payload to the get frontend auth wallet connect not found response
func (*GetFrontendAuthWalletConnectNotFound) WriteResponse ¶
func (o *GetFrontendAuthWalletConnectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthWalletConnectOK ¶
type GetFrontendAuthWalletConnectOK struct {
/*
In: Body
*/
Payload *models.Nonce `json:"body,omitempty"`
}
GetFrontendAuthWalletConnectOK check public address in db
swagger:response getFrontendAuthWalletConnectOK
func NewGetFrontendAuthWalletConnectOK ¶
func NewGetFrontendAuthWalletConnectOK() *GetFrontendAuthWalletConnectOK
NewGetFrontendAuthWalletConnectOK creates GetFrontendAuthWalletConnectOK with default headers values
func (*GetFrontendAuthWalletConnectOK) SetPayload ¶
func (o *GetFrontendAuthWalletConnectOK) SetPayload(payload *models.Nonce)
SetPayload sets the payload to the get frontend auth wallet connect o k response
func (*GetFrontendAuthWalletConnectOK) WithPayload ¶
func (o *GetFrontendAuthWalletConnectOK) WithPayload(payload *models.Nonce) *GetFrontendAuthWalletConnectOK
WithPayload adds the payload to the get frontend auth wallet connect o k response
func (*GetFrontendAuthWalletConnectOK) WriteResponse ¶
func (o *GetFrontendAuthWalletConnectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFrontendAuthWalletConnectParams ¶
type GetFrontendAuthWalletConnectParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*public address
In: query
*/
Address *string
/*operation type
In: query
*/
Operation *string
}
GetFrontendAuthWalletConnectParams contains all the bound params for the get frontend auth wallet connect operation typically these are obtained from a http.Request
swagger:parameters GetFrontendAuthWalletConnect
func NewGetFrontendAuthWalletConnectParams ¶
func NewGetFrontendAuthWalletConnectParams() GetFrontendAuthWalletConnectParams
NewGetFrontendAuthWalletConnectParams creates a new GetFrontendAuthWalletConnectParams object
There are no default values defined in the spec.
func (*GetFrontendAuthWalletConnectParams) BindRequest ¶
func (o *GetFrontendAuthWalletConnectParams) 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 NewGetFrontendAuthWalletConnectParams() beforehand.
type GetFrontendAuthWalletConnectURL ¶
type GetFrontendAuthWalletConnectURL struct {
Address *string
Operation *string
// contains filtered or unexported fields
}
GetFrontendAuthWalletConnectURL generates an URL for the get frontend auth wallet connect operation
func (*GetFrontendAuthWalletConnectURL) Build ¶
func (o *GetFrontendAuthWalletConnectURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetFrontendAuthWalletConnectURL) BuildFull ¶
func (o *GetFrontendAuthWalletConnectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetFrontendAuthWalletConnectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetFrontendAuthWalletConnectURL) SetBasePath ¶
func (o *GetFrontendAuthWalletConnectURL) 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 (*GetFrontendAuthWalletConnectURL) String ¶
func (o *GetFrontendAuthWalletConnectURL) String() string
String returns the string representation of the path with query string
func (*GetFrontendAuthWalletConnectURL) StringFull ¶
func (o *GetFrontendAuthWalletConnectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetFrontendAuthWalletConnectURL) WithBasePath ¶
func (o *GetFrontendAuthWalletConnectURL) WithBasePath(bp string) *GetFrontendAuthWalletConnectURL
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 GetFrontendAuthWalletConnectUnauthorized ¶
type GetFrontendAuthWalletConnectUnauthorized struct {
Payload *models.ErrorResponse `json:"body,omitempty"`
}
GetFrontendAuthWalletConnectUnauthorized Unauthorized. The request is missing valid authentication.
swagger:response getFrontendAuthWalletConnectUnauthorized
func NewGetFrontendAuthWalletConnectUnauthorized ¶
func NewGetFrontendAuthWalletConnectUnauthorized() *GetFrontendAuthWalletConnectUnauthorized
NewGetFrontendAuthWalletConnectUnauthorized creates GetFrontendAuthWalletConnectUnauthorized with default headers values
func (*GetFrontendAuthWalletConnectUnauthorized) SetPayload ¶
func (o *GetFrontendAuthWalletConnectUnauthorized) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get frontend auth wallet connect unauthorized response
func (*GetFrontendAuthWalletConnectUnauthorized) WithPayload ¶
func (o *GetFrontendAuthWalletConnectUnauthorized) WithPayload(payload *models.ErrorResponse) *GetFrontendAuthWalletConnectUnauthorized
WithPayload adds the payload to the get frontend auth wallet connect unauthorized response
func (*GetFrontendAuthWalletConnectUnauthorized) WriteResponse ¶
func (o *GetFrontendAuthWalletConnectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostFrontendAuthWalletConnect ¶
type PostFrontendAuthWalletConnect struct {
Context *middleware.Context
Handler PostFrontendAuthWalletConnectHandler
}
PostFrontendAuthWalletConnect swagger:route POST /frontend/auth/wallet-connect Auth postFrontendAuthWalletConnect
This API endpoint create, store and returns credentials for new user
func NewPostFrontendAuthWalletConnect ¶
func NewPostFrontendAuthWalletConnect(ctx *middleware.Context, handler PostFrontendAuthWalletConnectHandler) *PostFrontendAuthWalletConnect
NewPostFrontendAuthWalletConnect creates a new http.Handler for the post frontend auth wallet connect operation
func (*PostFrontendAuthWalletConnect) ServeHTTP ¶
func (o *PostFrontendAuthWalletConnect) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostFrontendAuthWalletConnectBadRequest ¶
type PostFrontendAuthWalletConnectBadRequest struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
PostFrontendAuthWalletConnectBadRequest Bad request due to missing or invalid parameters.
swagger:response postFrontendAuthWalletConnectBadRequest
func NewPostFrontendAuthWalletConnectBadRequest ¶
func NewPostFrontendAuthWalletConnectBadRequest() *PostFrontendAuthWalletConnectBadRequest
NewPostFrontendAuthWalletConnectBadRequest creates PostFrontendAuthWalletConnectBadRequest with default headers values
func (*PostFrontendAuthWalletConnectBadRequest) SetPayload ¶
func (o *PostFrontendAuthWalletConnectBadRequest) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the post frontend auth wallet connect bad request response
func (*PostFrontendAuthWalletConnectBadRequest) WithPayload ¶
func (o *PostFrontendAuthWalletConnectBadRequest) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectBadRequest
WithPayload adds the payload to the post frontend auth wallet connect bad request response
func (*PostFrontendAuthWalletConnectBadRequest) WriteResponse ¶
func (o *PostFrontendAuthWalletConnectBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostFrontendAuthWalletConnectHandler ¶
type PostFrontendAuthWalletConnectHandler interface {
Handle(PostFrontendAuthWalletConnectParams) middleware.Responder
}
PostFrontendAuthWalletConnectHandler interface for that can handle valid post frontend auth wallet connect params
type PostFrontendAuthWalletConnectHandlerFunc ¶
type PostFrontendAuthWalletConnectHandlerFunc func(PostFrontendAuthWalletConnectParams) middleware.Responder
PostFrontendAuthWalletConnectHandlerFunc turns a function with the right signature into a post frontend auth wallet connect handler
func (PostFrontendAuthWalletConnectHandlerFunc) Handle ¶
func (fn PostFrontendAuthWalletConnectHandlerFunc) Handle(params PostFrontendAuthWalletConnectParams) middleware.Responder
Handle executing the request and returning a response
type PostFrontendAuthWalletConnectInternalServerError ¶
type PostFrontendAuthWalletConnectInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
PostFrontendAuthWalletConnectInternalServerError Internal server error.
swagger:response postFrontendAuthWalletConnectInternalServerError
func NewPostFrontendAuthWalletConnectInternalServerError ¶
func NewPostFrontendAuthWalletConnectInternalServerError() *PostFrontendAuthWalletConnectInternalServerError
NewPostFrontendAuthWalletConnectInternalServerError creates PostFrontendAuthWalletConnectInternalServerError with default headers values
func (*PostFrontendAuthWalletConnectInternalServerError) SetPayload ¶
func (o *PostFrontendAuthWalletConnectInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the post frontend auth wallet connect internal server error response
func (*PostFrontendAuthWalletConnectInternalServerError) WithPayload ¶
func (o *PostFrontendAuthWalletConnectInternalServerError) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectInternalServerError
WithPayload adds the payload to the post frontend auth wallet connect internal server error response
func (*PostFrontendAuthWalletConnectInternalServerError) WriteResponse ¶
func (o *PostFrontendAuthWalletConnectInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostFrontendAuthWalletConnectNotFound ¶
type PostFrontendAuthWalletConnectNotFound struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
PostFrontendAuthWalletConnectNotFound Not found. The requested resource could not be found.
swagger:response postFrontendAuthWalletConnectNotFound
func NewPostFrontendAuthWalletConnectNotFound ¶
func NewPostFrontendAuthWalletConnectNotFound() *PostFrontendAuthWalletConnectNotFound
NewPostFrontendAuthWalletConnectNotFound creates PostFrontendAuthWalletConnectNotFound with default headers values
func (*PostFrontendAuthWalletConnectNotFound) SetPayload ¶
func (o *PostFrontendAuthWalletConnectNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the post frontend auth wallet connect not found response
func (*PostFrontendAuthWalletConnectNotFound) WithPayload ¶
func (o *PostFrontendAuthWalletConnectNotFound) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectNotFound
WithPayload adds the payload to the post frontend auth wallet connect not found response
func (*PostFrontendAuthWalletConnectNotFound) WriteResponse ¶
func (o *PostFrontendAuthWalletConnectNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostFrontendAuthWalletConnectOK ¶
type PostFrontendAuthWalletConnectOK struct {
/*
In: Body
*/
Payload *models.LoginMetamaskOK `json:"body,omitempty"`
}
PostFrontendAuthWalletConnectOK auth using signature verification
swagger:response postFrontendAuthWalletConnectOK
func NewPostFrontendAuthWalletConnectOK ¶
func NewPostFrontendAuthWalletConnectOK() *PostFrontendAuthWalletConnectOK
NewPostFrontendAuthWalletConnectOK creates PostFrontendAuthWalletConnectOK with default headers values
func (*PostFrontendAuthWalletConnectOK) SetPayload ¶
func (o *PostFrontendAuthWalletConnectOK) SetPayload(payload *models.LoginMetamaskOK)
SetPayload sets the payload to the post frontend auth wallet connect o k response
func (*PostFrontendAuthWalletConnectOK) WithPayload ¶
func (o *PostFrontendAuthWalletConnectOK) WithPayload(payload *models.LoginMetamaskOK) *PostFrontendAuthWalletConnectOK
WithPayload adds the payload to the post frontend auth wallet connect o k response
func (*PostFrontendAuthWalletConnectOK) WriteResponse ¶
func (o *PostFrontendAuthWalletConnectOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostFrontendAuthWalletConnectParams ¶
type PostFrontendAuthWalletConnectParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
In: body
*/
Body *models.VerifySignature
}
PostFrontendAuthWalletConnectParams contains all the bound params for the post frontend auth wallet connect operation typically these are obtained from a http.Request
swagger:parameters PostFrontendAuthWalletConnect
func NewPostFrontendAuthWalletConnectParams ¶
func NewPostFrontendAuthWalletConnectParams() PostFrontendAuthWalletConnectParams
NewPostFrontendAuthWalletConnectParams creates a new PostFrontendAuthWalletConnectParams object
There are no default values defined in the spec.
func (*PostFrontendAuthWalletConnectParams) BindRequest ¶
func (o *PostFrontendAuthWalletConnectParams) 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 NewPostFrontendAuthWalletConnectParams() beforehand.
type PostFrontendAuthWalletConnectURL ¶
type PostFrontendAuthWalletConnectURL struct {
// contains filtered or unexported fields
}
PostFrontendAuthWalletConnectURL generates an URL for the post frontend auth wallet connect operation
func (*PostFrontendAuthWalletConnectURL) Build ¶
func (o *PostFrontendAuthWalletConnectURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostFrontendAuthWalletConnectURL) BuildFull ¶
func (o *PostFrontendAuthWalletConnectURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostFrontendAuthWalletConnectURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostFrontendAuthWalletConnectURL) SetBasePath ¶
func (o *PostFrontendAuthWalletConnectURL) 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 (*PostFrontendAuthWalletConnectURL) String ¶
func (o *PostFrontendAuthWalletConnectURL) String() string
String returns the string representation of the path with query string
func (*PostFrontendAuthWalletConnectURL) StringFull ¶
func (o *PostFrontendAuthWalletConnectURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostFrontendAuthWalletConnectURL) WithBasePath ¶
func (o *PostFrontendAuthWalletConnectURL) WithBasePath(bp string) *PostFrontendAuthWalletConnectURL
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 PostFrontendAuthWalletConnectUnauthorized ¶
type PostFrontendAuthWalletConnectUnauthorized struct {
Payload *models.ErrorResponse `json:"body,omitempty"`
}
PostFrontendAuthWalletConnectUnauthorized Unauthorized. The request is missing valid authentication.
swagger:response postFrontendAuthWalletConnectUnauthorized
func NewPostFrontendAuthWalletConnectUnauthorized ¶
func NewPostFrontendAuthWalletConnectUnauthorized() *PostFrontendAuthWalletConnectUnauthorized
NewPostFrontendAuthWalletConnectUnauthorized creates PostFrontendAuthWalletConnectUnauthorized with default headers values
func (*PostFrontendAuthWalletConnectUnauthorized) SetPayload ¶
func (o *PostFrontendAuthWalletConnectUnauthorized) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the post frontend auth wallet connect unauthorized response
func (*PostFrontendAuthWalletConnectUnauthorized) WithPayload ¶
func (o *PostFrontendAuthWalletConnectUnauthorized) WithPayload(payload *models.ErrorResponse) *PostFrontendAuthWalletConnectUnauthorized
WithPayload adds the payload to the post frontend auth wallet connect unauthorized response
func (*PostFrontendAuthWalletConnectUnauthorized) WriteResponse ¶
func (o *PostFrontendAuthWalletConnectUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- get_frontend_auth_callback.go
- get_frontend_auth_callback_parameters.go
- get_frontend_auth_callback_responses.go
- get_frontend_auth_callback_urlbuilder.go
- get_frontend_auth_wallet_connect.go
- get_frontend_auth_wallet_connect_parameters.go
- get_frontend_auth_wallet_connect_responses.go
- get_frontend_auth_wallet_connect_urlbuilder.go
- post_frontend_auth_wallet_connect.go
- post_frontend_auth_wallet_connect_parameters.go
- post_frontend_auth_wallet_connect_responses.go
- post_frontend_auth_wallet_connect_urlbuilder.go