user

package
v1.0.0-alpha.27 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInfoGetParams

type UserInfoGetParams struct {

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

UserInfoGetParams contains all the bound params for the user info get operation typically these are obtained from a http.Request

swagger:parameters UserInfoGet

func NewUserInfoGetParams

func NewUserInfoGetParams() UserInfoGetParams

NewUserInfoGetParams creates a new UserInfoGetParams object no default values defined in spec.

func (*UserInfoGetParams) BindRequest

func (o *UserInfoGetParams) BindRequest(r *http.Request, c ...runtime.Consumer) 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.

type UserInfoParams

type UserInfoParams struct {

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

UserInfoParams contains all the bound params for the user info operation typically these are obtained from a http.Request

swagger:parameters UserInfo

func NewUserInfoParams

func NewUserInfoParams() UserInfoParams

NewUserInfoParams creates a new UserInfoParams object no default values defined in spec.

func (*UserInfoParams) BindRequest

func (o *UserInfoParams) BindRequest(r *http.Request) 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 NewUserInfoParams() beforehand.

type UserInfoUpdateParams

type UserInfoUpdateParams struct {

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

	/*The new profile
	  In: body
	*/
	Profile oauth.Profile
}

UserInfoUpdateParams contains all the bound params for the user info update operation typically these are obtained from a http.Request

swagger:parameters UserInfoUpdate

func NewUserInfoUpdateParams

func NewUserInfoUpdateParams() UserInfoUpdateParams

NewUserInfoUpdateParams creates a new UserInfoUpdateParams object no default values defined in spec.

func (*UserInfoUpdateParams) BindRequest

func (o *UserInfoUpdateParams) BindRequest(r *http.Request, c ...runtime.Consumer) 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.

Jump to

Keyboard shortcuts

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