Documentation ¶
Index ¶
- Constants
- type ShowOktaInfo
- type ShowOktaInfoBadRequest
- type ShowOktaInfoForbidden
- type ShowOktaInfoHandler
- type ShowOktaInfoHandlerFunc
- type ShowOktaInfoInternalServerError
- type ShowOktaInfoNotFound
- type ShowOktaInfoOK
- type ShowOktaInfoParams
- type ShowOktaInfoURL
- func (o *ShowOktaInfoURL) Build() (*url.URL, error)
- func (o *ShowOktaInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowOktaInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowOktaInfoURL) SetBasePath(bp string)
- func (o *ShowOktaInfoURL) String() string
- func (o *ShowOktaInfoURL) StringFull(scheme, host string) string
- func (o *ShowOktaInfoURL) WithBasePath(bp string) *ShowOktaInfoURL
- type ShowOktaInfoUnauthorized
- type UpdateOktaInfo
- type UpdateOktaInfoBadRequest
- type UpdateOktaInfoForbidden
- type UpdateOktaInfoHandler
- type UpdateOktaInfoHandlerFunc
- type UpdateOktaInfoInternalServerError
- type UpdateOktaInfoOK
- type UpdateOktaInfoParams
- type UpdateOktaInfoURL
- func (o *UpdateOktaInfoURL) Build() (*url.URL, error)
- func (o *UpdateOktaInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateOktaInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateOktaInfoURL) SetBasePath(bp string)
- func (o *UpdateOktaInfoURL) String() string
- func (o *UpdateOktaInfoURL) StringFull(scheme, host string) string
- func (o *UpdateOktaInfoURL) WithBasePath(bp string) *UpdateOktaInfoURL
- type UpdateOktaInfoUnauthorized
- type UpdateOktaInfoUnprocessableEntity
Constants ¶
const ShowOktaInfoBadRequestCode int = 400
ShowOktaInfoBadRequestCode is the HTTP code returned for type ShowOktaInfoBadRequest
const ShowOktaInfoForbiddenCode int = 403
ShowOktaInfoForbiddenCode is the HTTP code returned for type ShowOktaInfoForbidden
const ShowOktaInfoInternalServerErrorCode int = 500
ShowOktaInfoInternalServerErrorCode is the HTTP code returned for type ShowOktaInfoInternalServerError
const ShowOktaInfoNotFoundCode int = 404
ShowOktaInfoNotFoundCode is the HTTP code returned for type ShowOktaInfoNotFound
const ShowOktaInfoOKCode int = 200
ShowOktaInfoOKCode is the HTTP code returned for type ShowOktaInfoOK
ShowOktaInfoUnauthorizedCode is the HTTP code returned for type ShowOktaInfoUnauthorized
const UpdateOktaInfoBadRequestCode int = 400
UpdateOktaInfoBadRequestCode is the HTTP code returned for type UpdateOktaInfoBadRequest
const UpdateOktaInfoForbiddenCode int = 403
UpdateOktaInfoForbiddenCode is the HTTP code returned for type UpdateOktaInfoForbidden
const UpdateOktaInfoInternalServerErrorCode int = 500
UpdateOktaInfoInternalServerErrorCode is the HTTP code returned for type UpdateOktaInfoInternalServerError
const UpdateOktaInfoOKCode int = 200
UpdateOktaInfoOKCode is the HTTP code returned for type UpdateOktaInfoOK
UpdateOktaInfoUnauthorizedCode is the HTTP code returned for type UpdateOktaInfoUnauthorized
const UpdateOktaInfoUnprocessableEntityCode int = 422
UpdateOktaInfoUnprocessableEntityCode is the HTTP code returned for type UpdateOktaInfoUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShowOktaInfo ¶
type ShowOktaInfo struct { Context *middleware.Context Handler ShowOktaInfoHandler }
ShowOktaInfo swagger:route GET /okta-profile okta_profile showOktaInfo
Returns Okta profile values from Okta's Users API ¶
Calls a GET request to Okta's Users API and returns profile values that includes Okta data that the user provided upon registration or most recent profile update.
func NewShowOktaInfo ¶
func NewShowOktaInfo(ctx *middleware.Context, handler ShowOktaInfoHandler) *ShowOktaInfo
NewShowOktaInfo creates a new http.Handler for the show okta info operation
func (*ShowOktaInfo) ServeHTTP ¶
func (o *ShowOktaInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowOktaInfoBadRequest ¶
type ShowOktaInfoBadRequest struct { }
ShowOktaInfoBadRequest invalid request
swagger:response showOktaInfoBadRequest
func NewShowOktaInfoBadRequest ¶
func NewShowOktaInfoBadRequest() *ShowOktaInfoBadRequest
NewShowOktaInfoBadRequest creates ShowOktaInfoBadRequest with default headers values
func (*ShowOktaInfoBadRequest) WriteResponse ¶
func (o *ShowOktaInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowOktaInfoForbidden ¶
type ShowOktaInfoForbidden struct { }
ShowOktaInfoForbidden user is not authorized
swagger:response showOktaInfoForbidden
func NewShowOktaInfoForbidden ¶
func NewShowOktaInfoForbidden() *ShowOktaInfoForbidden
NewShowOktaInfoForbidden creates ShowOktaInfoForbidden with default headers values
func (*ShowOktaInfoForbidden) WriteResponse ¶
func (o *ShowOktaInfoForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowOktaInfoHandler ¶
type ShowOktaInfoHandler interface {
Handle(ShowOktaInfoParams) middleware.Responder
}
ShowOktaInfoHandler interface for that can handle valid show okta info params
type ShowOktaInfoHandlerFunc ¶
type ShowOktaInfoHandlerFunc func(ShowOktaInfoParams) middleware.Responder
ShowOktaInfoHandlerFunc turns a function with the right signature into a show okta info handler
func (ShowOktaInfoHandlerFunc) Handle ¶
func (fn ShowOktaInfoHandlerFunc) Handle(params ShowOktaInfoParams) middleware.Responder
Handle executing the request and returning a response
type ShowOktaInfoInternalServerError ¶
type ShowOktaInfoInternalServerError struct { }
ShowOktaInfoInternalServerError internal server error
swagger:response showOktaInfoInternalServerError
func NewShowOktaInfoInternalServerError ¶
func NewShowOktaInfoInternalServerError() *ShowOktaInfoInternalServerError
NewShowOktaInfoInternalServerError creates ShowOktaInfoInternalServerError with default headers values
func (*ShowOktaInfoInternalServerError) WriteResponse ¶
func (o *ShowOktaInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowOktaInfoNotFound ¶
type ShowOktaInfoNotFound struct { }
ShowOktaInfoNotFound service member not found
swagger:response showOktaInfoNotFound
func NewShowOktaInfoNotFound ¶
func NewShowOktaInfoNotFound() *ShowOktaInfoNotFound
NewShowOktaInfoNotFound creates ShowOktaInfoNotFound with default headers values
func (*ShowOktaInfoNotFound) WriteResponse ¶
func (o *ShowOktaInfoNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowOktaInfoOK ¶
type ShowOktaInfoOK struct { /* In: Body */ Payload *internalmessages.OktaUserProfileData `json:"body,omitempty"` }
ShowOktaInfoOK okta profile for user
swagger:response showOktaInfoOK
func NewShowOktaInfoOK ¶
func NewShowOktaInfoOK() *ShowOktaInfoOK
NewShowOktaInfoOK creates ShowOktaInfoOK with default headers values
func (*ShowOktaInfoOK) SetPayload ¶
func (o *ShowOktaInfoOK) SetPayload(payload *internalmessages.OktaUserProfileData)
SetPayload sets the payload to the show okta info o k response
func (*ShowOktaInfoOK) WithPayload ¶
func (o *ShowOktaInfoOK) WithPayload(payload *internalmessages.OktaUserProfileData) *ShowOktaInfoOK
WithPayload adds the payload to the show okta info o k response
func (*ShowOktaInfoOK) WriteResponse ¶
func (o *ShowOktaInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowOktaInfoParams ¶
ShowOktaInfoParams contains all the bound params for the show okta info operation typically these are obtained from a http.Request
swagger:parameters showOktaInfo
func NewShowOktaInfoParams ¶
func NewShowOktaInfoParams() ShowOktaInfoParams
NewShowOktaInfoParams creates a new ShowOktaInfoParams object
There are no default values defined in the spec.
func (*ShowOktaInfoParams) BindRequest ¶
func (o *ShowOktaInfoParams) 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 NewShowOktaInfoParams() beforehand.
type ShowOktaInfoURL ¶
type ShowOktaInfoURL struct {
// contains filtered or unexported fields
}
ShowOktaInfoURL generates an URL for the show okta info operation
func (*ShowOktaInfoURL) Build ¶
func (o *ShowOktaInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowOktaInfoURL) BuildFull ¶
func (o *ShowOktaInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowOktaInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowOktaInfoURL) SetBasePath ¶
func (o *ShowOktaInfoURL) 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 (*ShowOktaInfoURL) String ¶
func (o *ShowOktaInfoURL) String() string
String returns the string representation of the path with query string
func (*ShowOktaInfoURL) StringFull ¶
func (o *ShowOktaInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowOktaInfoURL) WithBasePath ¶
func (o *ShowOktaInfoURL) WithBasePath(bp string) *ShowOktaInfoURL
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 ShowOktaInfoUnauthorized ¶
type ShowOktaInfoUnauthorized struct { }
ShowOktaInfoUnauthorized request requires user authentication
swagger:response showOktaInfoUnauthorized
func NewShowOktaInfoUnauthorized ¶
func NewShowOktaInfoUnauthorized() *ShowOktaInfoUnauthorized
NewShowOktaInfoUnauthorized creates ShowOktaInfoUnauthorized with default headers values
func (*ShowOktaInfoUnauthorized) WriteResponse ¶
func (o *ShowOktaInfoUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOktaInfo ¶
type UpdateOktaInfo struct { Context *middleware.Context Handler UpdateOktaInfoHandler }
UpdateOktaInfo swagger:route POST /okta-profile okta_profile updateOktaInfo
Update the user's okta profile with primary data, returns Okta profile values from the Okta's Users API reflecting updated values.
Update the user's okta profile with primary data, returns Okta profile values from the Okta's Users API reflecting updated values.
func NewUpdateOktaInfo ¶
func NewUpdateOktaInfo(ctx *middleware.Context, handler UpdateOktaInfoHandler) *UpdateOktaInfo
NewUpdateOktaInfo creates a new http.Handler for the update okta info operation
func (*UpdateOktaInfo) ServeHTTP ¶
func (o *UpdateOktaInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateOktaInfoBadRequest ¶
type UpdateOktaInfoBadRequest struct { }
UpdateOktaInfoBadRequest invalid request
swagger:response updateOktaInfoBadRequest
func NewUpdateOktaInfoBadRequest ¶
func NewUpdateOktaInfoBadRequest() *UpdateOktaInfoBadRequest
NewUpdateOktaInfoBadRequest creates UpdateOktaInfoBadRequest with default headers values
func (*UpdateOktaInfoBadRequest) WriteResponse ¶
func (o *UpdateOktaInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOktaInfoForbidden ¶
type UpdateOktaInfoForbidden struct { }
UpdateOktaInfoForbidden user is not authorized
swagger:response updateOktaInfoForbidden
func NewUpdateOktaInfoForbidden ¶
func NewUpdateOktaInfoForbidden() *UpdateOktaInfoForbidden
NewUpdateOktaInfoForbidden creates UpdateOktaInfoForbidden with default headers values
func (*UpdateOktaInfoForbidden) WriteResponse ¶
func (o *UpdateOktaInfoForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOktaInfoHandler ¶
type UpdateOktaInfoHandler interface {
Handle(UpdateOktaInfoParams) middleware.Responder
}
UpdateOktaInfoHandler interface for that can handle valid update okta info params
type UpdateOktaInfoHandlerFunc ¶
type UpdateOktaInfoHandlerFunc func(UpdateOktaInfoParams) middleware.Responder
UpdateOktaInfoHandlerFunc turns a function with the right signature into a update okta info handler
func (UpdateOktaInfoHandlerFunc) Handle ¶
func (fn UpdateOktaInfoHandlerFunc) Handle(params UpdateOktaInfoParams) middleware.Responder
Handle executing the request and returning a response
type UpdateOktaInfoInternalServerError ¶
type UpdateOktaInfoInternalServerError struct { }
UpdateOktaInfoInternalServerError internal server error
swagger:response updateOktaInfoInternalServerError
func NewUpdateOktaInfoInternalServerError ¶
func NewUpdateOktaInfoInternalServerError() *UpdateOktaInfoInternalServerError
NewUpdateOktaInfoInternalServerError creates UpdateOktaInfoInternalServerError with default headers values
func (*UpdateOktaInfoInternalServerError) WriteResponse ¶
func (o *UpdateOktaInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOktaInfoOK ¶
type UpdateOktaInfoOK struct { /* In: Body */ Payload *internalmessages.OktaUserProfileData `json:"body,omitempty"` }
UpdateOktaInfoOK okta profile for user
swagger:response updateOktaInfoOK
func NewUpdateOktaInfoOK ¶
func NewUpdateOktaInfoOK() *UpdateOktaInfoOK
NewUpdateOktaInfoOK creates UpdateOktaInfoOK with default headers values
func (*UpdateOktaInfoOK) SetPayload ¶
func (o *UpdateOktaInfoOK) SetPayload(payload *internalmessages.OktaUserProfileData)
SetPayload sets the payload to the update okta info o k response
func (*UpdateOktaInfoOK) WithPayload ¶
func (o *UpdateOktaInfoOK) WithPayload(payload *internalmessages.OktaUserProfileData) *UpdateOktaInfoOK
WithPayload adds the payload to the update okta info o k response
func (*UpdateOktaInfoOK) WriteResponse ¶
func (o *UpdateOktaInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOktaInfoParams ¶
type UpdateOktaInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ UpdateOktaUserProfileData *internalmessages.UpdateOktaUserProfileData }
UpdateOktaInfoParams contains all the bound params for the update okta info operation typically these are obtained from a http.Request
swagger:parameters updateOktaInfo
func NewUpdateOktaInfoParams ¶
func NewUpdateOktaInfoParams() UpdateOktaInfoParams
NewUpdateOktaInfoParams creates a new UpdateOktaInfoParams object
There are no default values defined in the spec.
func (*UpdateOktaInfoParams) BindRequest ¶
func (o *UpdateOktaInfoParams) 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 NewUpdateOktaInfoParams() beforehand.
type UpdateOktaInfoURL ¶
type UpdateOktaInfoURL struct {
// contains filtered or unexported fields
}
UpdateOktaInfoURL generates an URL for the update okta info operation
func (*UpdateOktaInfoURL) Build ¶
func (o *UpdateOktaInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateOktaInfoURL) BuildFull ¶
func (o *UpdateOktaInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateOktaInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateOktaInfoURL) SetBasePath ¶
func (o *UpdateOktaInfoURL) 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 (*UpdateOktaInfoURL) String ¶
func (o *UpdateOktaInfoURL) String() string
String returns the string representation of the path with query string
func (*UpdateOktaInfoURL) StringFull ¶
func (o *UpdateOktaInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateOktaInfoURL) WithBasePath ¶
func (o *UpdateOktaInfoURL) WithBasePath(bp string) *UpdateOktaInfoURL
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 UpdateOktaInfoUnauthorized ¶
type UpdateOktaInfoUnauthorized struct { }
UpdateOktaInfoUnauthorized request requires user authentication
swagger:response updateOktaInfoUnauthorized
func NewUpdateOktaInfoUnauthorized ¶
func NewUpdateOktaInfoUnauthorized() *UpdateOktaInfoUnauthorized
NewUpdateOktaInfoUnauthorized creates UpdateOktaInfoUnauthorized with default headers values
func (*UpdateOktaInfoUnauthorized) WriteResponse ¶
func (o *UpdateOktaInfoUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOktaInfoUnprocessableEntity ¶
type UpdateOktaInfoUnprocessableEntity struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
UpdateOktaInfoUnprocessableEntity validation error
swagger:response updateOktaInfoUnprocessableEntity
func NewUpdateOktaInfoUnprocessableEntity ¶
func NewUpdateOktaInfoUnprocessableEntity() *UpdateOktaInfoUnprocessableEntity
NewUpdateOktaInfoUnprocessableEntity creates UpdateOktaInfoUnprocessableEntity with default headers values
func (*UpdateOktaInfoUnprocessableEntity) SetPayload ¶
func (o *UpdateOktaInfoUnprocessableEntity) SetPayload(payload interface{})
SetPayload sets the payload to the update okta info unprocessable entity response
func (*UpdateOktaInfoUnprocessableEntity) WithPayload ¶
func (o *UpdateOktaInfoUnprocessableEntity) WithPayload(payload interface{}) *UpdateOktaInfoUnprocessableEntity
WithPayload adds the payload to the update okta info unprocessable entity response
func (*UpdateOktaInfoUnprocessableEntity) WriteResponse ¶
func (o *UpdateOktaInfoUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client