auth

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const LoginDetailOKCode int = 200

LoginDetailOKCode is the HTTP code returned for type LoginDetailOK

View Source
const LoginNoContentCode int = 204

LoginNoContentCode is the HTTP code returned for type LoginNoContent

View Source
const LoginOauth2AuthNoContentCode int = 204

LoginOauth2AuthNoContentCode is the HTTP code returned for type LoginOauth2AuthNoContent

View Source
const LogoutOKCode int = 200

LogoutOKCode is the HTTP code returned for type LogoutOK

View Source
const SessionCheckOKCode int = 200

SessionCheckOKCode is the HTTP code returned for type SessionCheckOK

Variables

This section is empty.

Functions

This section is empty.

Types

type Login

type Login struct {
	Context *middleware.Context
	Handler LoginHandler
}
Login swagger:route POST /login Auth login

Login to Console

func NewLogin

func NewLogin(ctx *middleware.Context, handler LoginHandler) *Login

NewLogin creates a new http.Handler for the login operation

func (*Login) ServeHTTP

func (o *Login) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type LoginDefault

type LoginDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

LoginDefault Generic error response.

swagger:response loginDefault

func NewLoginDefault

func NewLoginDefault(code int) *LoginDefault

NewLoginDefault creates LoginDefault with default headers values

func (*LoginDefault) SetPayload

func (o *LoginDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the login default response

func (*LoginDefault) SetStatusCode

func (o *LoginDefault) SetStatusCode(code int)

SetStatusCode sets the status to the login default response

func (*LoginDefault) WithPayload

func (o *LoginDefault) WithPayload(payload *models.Error) *LoginDefault

WithPayload adds the payload to the login default response

func (*LoginDefault) WithStatusCode

func (o *LoginDefault) WithStatusCode(code int) *LoginDefault

WithStatusCode adds the status to the login default response

func (*LoginDefault) WriteResponse

func (o *LoginDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LoginDetail

type LoginDetail struct {
	Context *middleware.Context
	Handler LoginDetailHandler
}
LoginDetail swagger:route GET /login Auth loginDetail

Returns login strategy, form or sso.

func NewLoginDetail

func NewLoginDetail(ctx *middleware.Context, handler LoginDetailHandler) *LoginDetail

NewLoginDetail creates a new http.Handler for the login detail operation

func (*LoginDetail) ServeHTTP

func (o *LoginDetail) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type LoginDetailDefault

type LoginDetailDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

LoginDetailDefault Generic error response.

swagger:response loginDetailDefault

func NewLoginDetailDefault

func NewLoginDetailDefault(code int) *LoginDetailDefault

NewLoginDetailDefault creates LoginDetailDefault with default headers values

func (*LoginDetailDefault) SetPayload

func (o *LoginDetailDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the login detail default response

func (*LoginDetailDefault) SetStatusCode

func (o *LoginDetailDefault) SetStatusCode(code int)

SetStatusCode sets the status to the login detail default response

func (*LoginDetailDefault) WithPayload

func (o *LoginDetailDefault) WithPayload(payload *models.Error) *LoginDetailDefault

WithPayload adds the payload to the login detail default response

func (*LoginDetailDefault) WithStatusCode

func (o *LoginDetailDefault) WithStatusCode(code int) *LoginDetailDefault

WithStatusCode adds the status to the login detail default response

func (*LoginDetailDefault) WriteResponse

func (o *LoginDetailDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LoginDetailHandler

type LoginDetailHandler interface {
	Handle(LoginDetailParams) middleware.Responder
}

LoginDetailHandler interface for that can handle valid login detail params

type LoginDetailHandlerFunc

type LoginDetailHandlerFunc func(LoginDetailParams) middleware.Responder

LoginDetailHandlerFunc turns a function with the right signature into a login detail handler

func (LoginDetailHandlerFunc) Handle

Handle executing the request and returning a response

type LoginDetailOK

type LoginDetailOK struct {

	/*
	  In: Body
	*/
	Payload *models.LoginDetails `json:"body,omitempty"`
}

LoginDetailOK A successful response.

swagger:response loginDetailOK

func NewLoginDetailOK

func NewLoginDetailOK() *LoginDetailOK

NewLoginDetailOK creates LoginDetailOK with default headers values

func (*LoginDetailOK) SetPayload

func (o *LoginDetailOK) SetPayload(payload *models.LoginDetails)

SetPayload sets the payload to the login detail o k response

func (*LoginDetailOK) WithPayload

func (o *LoginDetailOK) WithPayload(payload *models.LoginDetails) *LoginDetailOK

WithPayload adds the payload to the login detail o k response

func (*LoginDetailOK) WriteResponse

func (o *LoginDetailOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LoginDetailParams

type LoginDetailParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

LoginDetailParams contains all the bound params for the login detail operation typically these are obtained from a http.Request

swagger:parameters LoginDetail

func NewLoginDetailParams

func NewLoginDetailParams() LoginDetailParams

NewLoginDetailParams creates a new LoginDetailParams object

There are no default values defined in the spec.

func (*LoginDetailParams) BindRequest

func (o *LoginDetailParams) 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 NewLoginDetailParams() beforehand.

type LoginDetailURL

type LoginDetailURL struct {
	// contains filtered or unexported fields
}

LoginDetailURL generates an URL for the login detail operation

func (*LoginDetailURL) Build

func (o *LoginDetailURL) Build() (*url.URL, error)

Build a url path and query string

func (*LoginDetailURL) BuildFull

func (o *LoginDetailURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*LoginDetailURL) Must

func (o *LoginDetailURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*LoginDetailURL) SetBasePath

func (o *LoginDetailURL) 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 (*LoginDetailURL) String

func (o *LoginDetailURL) String() string

String returns the string representation of the path with query string

func (*LoginDetailURL) StringFull

func (o *LoginDetailURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*LoginDetailURL) WithBasePath

func (o *LoginDetailURL) WithBasePath(bp string) *LoginDetailURL

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 LoginHandler

type LoginHandler interface {
	Handle(LoginParams) middleware.Responder
}

LoginHandler interface for that can handle valid login params

type LoginHandlerFunc

type LoginHandlerFunc func(LoginParams) middleware.Responder

LoginHandlerFunc turns a function with the right signature into a login handler

func (LoginHandlerFunc) Handle

Handle executing the request and returning a response

type LoginNoContent

type LoginNoContent struct {
}

LoginNoContent A successful login.

swagger:response loginNoContent

func NewLoginNoContent

func NewLoginNoContent() *LoginNoContent

NewLoginNoContent creates LoginNoContent with default headers values

func (*LoginNoContent) WriteResponse

func (o *LoginNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LoginOauth2Auth

type LoginOauth2Auth struct {
	Context *middleware.Context
	Handler LoginOauth2AuthHandler
}
LoginOauth2Auth swagger:route POST /login/oauth2/auth Auth loginOauth2Auth

Identity Provider oauth2 callback endpoint.

func NewLoginOauth2Auth

func NewLoginOauth2Auth(ctx *middleware.Context, handler LoginOauth2AuthHandler) *LoginOauth2Auth

NewLoginOauth2Auth creates a new http.Handler for the login oauth2 auth operation

func (*LoginOauth2Auth) ServeHTTP

func (o *LoginOauth2Auth) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type LoginOauth2AuthDefault

type LoginOauth2AuthDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

LoginOauth2AuthDefault Generic error response.

swagger:response loginOauth2AuthDefault

func NewLoginOauth2AuthDefault

func NewLoginOauth2AuthDefault(code int) *LoginOauth2AuthDefault

NewLoginOauth2AuthDefault creates LoginOauth2AuthDefault with default headers values

func (*LoginOauth2AuthDefault) SetPayload

func (o *LoginOauth2AuthDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) SetStatusCode

func (o *LoginOauth2AuthDefault) SetStatusCode(code int)

SetStatusCode sets the status to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) WithPayload

func (o *LoginOauth2AuthDefault) WithPayload(payload *models.Error) *LoginOauth2AuthDefault

WithPayload adds the payload to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) WithStatusCode

func (o *LoginOauth2AuthDefault) WithStatusCode(code int) *LoginOauth2AuthDefault

WithStatusCode adds the status to the login oauth2 auth default response

func (*LoginOauth2AuthDefault) WriteResponse

func (o *LoginOauth2AuthDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LoginOauth2AuthHandler

type LoginOauth2AuthHandler interface {
	Handle(LoginOauth2AuthParams) middleware.Responder
}

LoginOauth2AuthHandler interface for that can handle valid login oauth2 auth params

type LoginOauth2AuthHandlerFunc

type LoginOauth2AuthHandlerFunc func(LoginOauth2AuthParams) middleware.Responder

LoginOauth2AuthHandlerFunc turns a function with the right signature into a login oauth2 auth handler

func (LoginOauth2AuthHandlerFunc) Handle

Handle executing the request and returning a response

type LoginOauth2AuthNoContent

type LoginOauth2AuthNoContent struct {
}

LoginOauth2AuthNoContent A successful login.

swagger:response loginOauth2AuthNoContent

func NewLoginOauth2AuthNoContent

func NewLoginOauth2AuthNoContent() *LoginOauth2AuthNoContent

NewLoginOauth2AuthNoContent creates LoginOauth2AuthNoContent with default headers values

func (*LoginOauth2AuthNoContent) WriteResponse

func (o *LoginOauth2AuthNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LoginOauth2AuthParams

type LoginOauth2AuthParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.LoginOauth2AuthRequest
}

LoginOauth2AuthParams contains all the bound params for the login oauth2 auth operation typically these are obtained from a http.Request

swagger:parameters LoginOauth2Auth

func NewLoginOauth2AuthParams

func NewLoginOauth2AuthParams() LoginOauth2AuthParams

NewLoginOauth2AuthParams creates a new LoginOauth2AuthParams object

There are no default values defined in the spec.

func (*LoginOauth2AuthParams) BindRequest

func (o *LoginOauth2AuthParams) 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 NewLoginOauth2AuthParams() beforehand.

type LoginOauth2AuthURL

type LoginOauth2AuthURL struct {
	// contains filtered or unexported fields
}

LoginOauth2AuthURL generates an URL for the login oauth2 auth operation

func (*LoginOauth2AuthURL) Build

func (o *LoginOauth2AuthURL) Build() (*url.URL, error)

Build a url path and query string

func (*LoginOauth2AuthURL) BuildFull

func (o *LoginOauth2AuthURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*LoginOauth2AuthURL) Must

func (o *LoginOauth2AuthURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*LoginOauth2AuthURL) SetBasePath

func (o *LoginOauth2AuthURL) 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 (*LoginOauth2AuthURL) String

func (o *LoginOauth2AuthURL) String() string

String returns the string representation of the path with query string

func (*LoginOauth2AuthURL) StringFull

func (o *LoginOauth2AuthURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*LoginOauth2AuthURL) WithBasePath

func (o *LoginOauth2AuthURL) WithBasePath(bp string) *LoginOauth2AuthURL

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 LoginParams

type LoginParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.LoginRequest
}

LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request

swagger:parameters Login

func NewLoginParams

func NewLoginParams() LoginParams

NewLoginParams creates a new LoginParams object

There are no default values defined in the spec.

func (*LoginParams) BindRequest

func (o *LoginParams) 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 NewLoginParams() beforehand.

type LoginURL

type LoginURL struct {
	// contains filtered or unexported fields
}

LoginURL generates an URL for the login operation

func (*LoginURL) Build

func (o *LoginURL) Build() (*url.URL, error)

Build a url path and query string

func (*LoginURL) BuildFull

func (o *LoginURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*LoginURL) Must

func (o *LoginURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*LoginURL) SetBasePath

func (o *LoginURL) 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 (*LoginURL) String

func (o *LoginURL) String() string

String returns the string representation of the path with query string

func (*LoginURL) StringFull

func (o *LoginURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*LoginURL) WithBasePath

func (o *LoginURL) WithBasePath(bp string) *LoginURL

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 Logout

type Logout struct {
	Context *middleware.Context
	Handler LogoutHandler
}
Logout swagger:route POST /logout Auth logout

Logout from Console.

func NewLogout

func NewLogout(ctx *middleware.Context, handler LogoutHandler) *Logout

NewLogout creates a new http.Handler for the logout operation

func (*Logout) ServeHTTP

func (o *Logout) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type LogoutDefault

type LogoutDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

LogoutDefault Generic error response.

swagger:response logoutDefault

func NewLogoutDefault

func NewLogoutDefault(code int) *LogoutDefault

NewLogoutDefault creates LogoutDefault with default headers values

func (*LogoutDefault) SetPayload

func (o *LogoutDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the logout default response

func (*LogoutDefault) SetStatusCode

func (o *LogoutDefault) SetStatusCode(code int)

SetStatusCode sets the status to the logout default response

func (*LogoutDefault) WithPayload

func (o *LogoutDefault) WithPayload(payload *models.Error) *LogoutDefault

WithPayload adds the payload to the logout default response

func (*LogoutDefault) WithStatusCode

func (o *LogoutDefault) WithStatusCode(code int) *LogoutDefault

WithStatusCode adds the status to the logout default response

func (*LogoutDefault) WriteResponse

func (o *LogoutDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LogoutHandler

type LogoutHandler interface {
	Handle(LogoutParams, *models.Principal) middleware.Responder
}

LogoutHandler interface for that can handle valid logout params

type LogoutHandlerFunc

type LogoutHandlerFunc func(LogoutParams, *models.Principal) middleware.Responder

LogoutHandlerFunc turns a function with the right signature into a logout handler

func (LogoutHandlerFunc) Handle

func (fn LogoutHandlerFunc) Handle(params LogoutParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type LogoutOK

type LogoutOK struct {
}

LogoutOK A successful response.

swagger:response logoutOK

func NewLogoutOK

func NewLogoutOK() *LogoutOK

NewLogoutOK creates LogoutOK with default headers values

func (*LogoutOK) WriteResponse

func (o *LogoutOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LogoutParams

type LogoutParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.LogoutRequest
}

LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request

swagger:parameters Logout

func NewLogoutParams

func NewLogoutParams() LogoutParams

NewLogoutParams creates a new LogoutParams object

There are no default values defined in the spec.

func (*LogoutParams) BindRequest

func (o *LogoutParams) 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 NewLogoutParams() beforehand.

type LogoutURL

type LogoutURL struct {
	// contains filtered or unexported fields
}

LogoutURL generates an URL for the logout operation

func (*LogoutURL) Build

func (o *LogoutURL) Build() (*url.URL, error)

Build a url path and query string

func (*LogoutURL) BuildFull

func (o *LogoutURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*LogoutURL) Must

func (o *LogoutURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*LogoutURL) SetBasePath

func (o *LogoutURL) 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 (*LogoutURL) String

func (o *LogoutURL) String() string

String returns the string representation of the path with query string

func (*LogoutURL) StringFull

func (o *LogoutURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*LogoutURL) WithBasePath

func (o *LogoutURL) WithBasePath(bp string) *LogoutURL

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 SessionCheck

type SessionCheck struct {
	Context *middleware.Context
	Handler SessionCheckHandler
}
SessionCheck swagger:route GET /session Auth sessionCheck

Endpoint to check if your session is still valid

func NewSessionCheck

func NewSessionCheck(ctx *middleware.Context, handler SessionCheckHandler) *SessionCheck

NewSessionCheck creates a new http.Handler for the session check operation

func (*SessionCheck) ServeHTTP

func (o *SessionCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SessionCheckDefault

type SessionCheckDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SessionCheckDefault Generic error response.

swagger:response sessionCheckDefault

func NewSessionCheckDefault

func NewSessionCheckDefault(code int) *SessionCheckDefault

NewSessionCheckDefault creates SessionCheckDefault with default headers values

func (*SessionCheckDefault) SetPayload

func (o *SessionCheckDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the session check default response

func (*SessionCheckDefault) SetStatusCode

func (o *SessionCheckDefault) SetStatusCode(code int)

SetStatusCode sets the status to the session check default response

func (*SessionCheckDefault) WithPayload

func (o *SessionCheckDefault) WithPayload(payload *models.Error) *SessionCheckDefault

WithPayload adds the payload to the session check default response

func (*SessionCheckDefault) WithStatusCode

func (o *SessionCheckDefault) WithStatusCode(code int) *SessionCheckDefault

WithStatusCode adds the status to the session check default response

func (*SessionCheckDefault) WriteResponse

func (o *SessionCheckDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SessionCheckHandler

type SessionCheckHandler interface {
	Handle(SessionCheckParams, *models.Principal) middleware.Responder
}

SessionCheckHandler interface for that can handle valid session check params

type SessionCheckHandlerFunc

type SessionCheckHandlerFunc func(SessionCheckParams, *models.Principal) middleware.Responder

SessionCheckHandlerFunc turns a function with the right signature into a session check handler

func (SessionCheckHandlerFunc) Handle

Handle executing the request and returning a response

type SessionCheckOK

type SessionCheckOK struct {

	/*
	  In: Body
	*/
	Payload *models.SessionResponse `json:"body,omitempty"`
}

SessionCheckOK A successful response.

swagger:response sessionCheckOK

func NewSessionCheckOK

func NewSessionCheckOK() *SessionCheckOK

NewSessionCheckOK creates SessionCheckOK with default headers values

func (*SessionCheckOK) SetPayload

func (o *SessionCheckOK) SetPayload(payload *models.SessionResponse)

SetPayload sets the payload to the session check o k response

func (*SessionCheckOK) WithPayload

func (o *SessionCheckOK) WithPayload(payload *models.SessionResponse) *SessionCheckOK

WithPayload adds the payload to the session check o k response

func (*SessionCheckOK) WriteResponse

func (o *SessionCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SessionCheckParams

type SessionCheckParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

SessionCheckParams contains all the bound params for the session check operation typically these are obtained from a http.Request

swagger:parameters SessionCheck

func NewSessionCheckParams

func NewSessionCheckParams() SessionCheckParams

NewSessionCheckParams creates a new SessionCheckParams object

There are no default values defined in the spec.

func (*SessionCheckParams) BindRequest

func (o *SessionCheckParams) 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 NewSessionCheckParams() beforehand.

type SessionCheckURL

type SessionCheckURL struct {
	// contains filtered or unexported fields
}

SessionCheckURL generates an URL for the session check operation

func (*SessionCheckURL) Build

func (o *SessionCheckURL) Build() (*url.URL, error)

Build a url path and query string

func (*SessionCheckURL) BuildFull

func (o *SessionCheckURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SessionCheckURL) Must

func (o *SessionCheckURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SessionCheckURL) SetBasePath

func (o *SessionCheckURL) 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 (*SessionCheckURL) String

func (o *SessionCheckURL) String() string

String returns the string representation of the path with query string

func (*SessionCheckURL) StringFull

func (o *SessionCheckURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SessionCheckURL) WithBasePath

func (o *SessionCheckURL) WithBasePath(bp string) *SessionCheckURL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL