o_auth2_0_extension

package
v0.0.0-...-f573b6e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for o auth2 0 extension API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UserAuthenticationV3

func (a *Client) UserAuthenticationV3(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)
  UserAuthenticationV3 authentications API

  <p>This endpoint is being used to authenticate a user account.
					It validates user's email / username and password. Deactivated or login-banned users are unable to login
					Redirect URI and Client ID must be specified as a pair and only used to redirect to the specified
					redirect URI in case the requestId is no longer valid.</p>
					<br>action code: 10801

type ClientService

type ClientService interface {
	UserAuthenticationV3(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new o auth2 0 extension API client.

type UserAuthenticationV3Found

type UserAuthenticationV3Found struct {
	Location string
}

UserAuthenticationV3Found handles this case with default header values.

Found. Redirect successful requests to consent page with "list of consent" in query params.

func NewUserAuthenticationV3Found

func NewUserAuthenticationV3Found() *UserAuthenticationV3Found

NewUserAuthenticationV3Found creates a UserAuthenticationV3Found with default headers values

func (*UserAuthenticationV3Found) Error

func (o *UserAuthenticationV3Found) Error() string

type UserAuthenticationV3Params

type UserAuthenticationV3Params struct {

	/*ClientID
	  Client ID

	*/
	ClientID *string
	/*ExtendExp
	  Extend expiration date of refresh token

	*/
	ExtendExp *bool
	/*Password
	  Account password

	*/
	Password string
	/*RedirectURI
	  Redirect URI

	*/
	RedirectURI *string
	/*RequestID
	  Request ID

	*/
	RequestID string
	/*UserName
	  Account username

	*/
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserAuthenticationV3Params contains all the parameters to send to the API endpoint for the user authentication v3 operation typically these are written to a http.Request

func NewUserAuthenticationV3Params

func NewUserAuthenticationV3Params() *UserAuthenticationV3Params

NewUserAuthenticationV3Params creates a new UserAuthenticationV3Params object with the default values initialized.

func NewUserAuthenticationV3ParamsWithContext

func NewUserAuthenticationV3ParamsWithContext(ctx context.Context) *UserAuthenticationV3Params

NewUserAuthenticationV3ParamsWithContext creates a new UserAuthenticationV3Params object with the default values initialized, and the ability to set a context for a request

func NewUserAuthenticationV3ParamsWithHTTPClient

func NewUserAuthenticationV3ParamsWithHTTPClient(client *http.Client) *UserAuthenticationV3Params

NewUserAuthenticationV3ParamsWithHTTPClient creates a new UserAuthenticationV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUserAuthenticationV3ParamsWithTimeout

func NewUserAuthenticationV3ParamsWithTimeout(timeout time.Duration) *UserAuthenticationV3Params

NewUserAuthenticationV3ParamsWithTimeout creates a new UserAuthenticationV3Params object with the default values initialized, and the ability to set a timeout on a request

func (*UserAuthenticationV3Params) SetClientID

func (o *UserAuthenticationV3Params) SetClientID(clientID *string)

SetClientID adds the clientId to the user authentication v3 params

func (*UserAuthenticationV3Params) SetContext

func (o *UserAuthenticationV3Params) SetContext(ctx context.Context)

SetContext adds the context to the user authentication v3 params

func (*UserAuthenticationV3Params) SetExtendExp

func (o *UserAuthenticationV3Params) SetExtendExp(extendExp *bool)

SetExtendExp adds the extendExp to the user authentication v3 params

func (*UserAuthenticationV3Params) SetHTTPClient

func (o *UserAuthenticationV3Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user authentication v3 params

func (*UserAuthenticationV3Params) SetPassword

func (o *UserAuthenticationV3Params) SetPassword(password string)

SetPassword adds the password to the user authentication v3 params

func (*UserAuthenticationV3Params) SetRedirectURI

func (o *UserAuthenticationV3Params) SetRedirectURI(redirectURI *string)

SetRedirectURI adds the redirectUri to the user authentication v3 params

func (*UserAuthenticationV3Params) SetRequestID

func (o *UserAuthenticationV3Params) SetRequestID(requestID string)

SetRequestID adds the requestId to the user authentication v3 params

func (*UserAuthenticationV3Params) SetTimeout

func (o *UserAuthenticationV3Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user authentication v3 params

func (*UserAuthenticationV3Params) SetUserName

func (o *UserAuthenticationV3Params) SetUserName(userName string)

SetUserName adds the userName to the user authentication v3 params

func (*UserAuthenticationV3Params) WithClientID

func (o *UserAuthenticationV3Params) WithClientID(clientID *string) *UserAuthenticationV3Params

WithClientID adds the clientID to the user authentication v3 params

func (*UserAuthenticationV3Params) WithContext

WithContext adds the context to the user authentication v3 params

func (*UserAuthenticationV3Params) WithExtendExp

func (o *UserAuthenticationV3Params) WithExtendExp(extendExp *bool) *UserAuthenticationV3Params

WithExtendExp adds the extendExp to the user authentication v3 params

func (*UserAuthenticationV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the user authentication v3 params

func (*UserAuthenticationV3Params) WithPassword

WithPassword adds the password to the user authentication v3 params

func (*UserAuthenticationV3Params) WithRedirectURI

func (o *UserAuthenticationV3Params) WithRedirectURI(redirectURI *string) *UserAuthenticationV3Params

WithRedirectURI adds the redirectURI to the user authentication v3 params

func (*UserAuthenticationV3Params) WithRequestID

func (o *UserAuthenticationV3Params) WithRequestID(requestID string) *UserAuthenticationV3Params

WithRequestID adds the requestID to the user authentication v3 params

func (*UserAuthenticationV3Params) WithTimeout

WithTimeout adds the timeout to the user authentication v3 params

func (*UserAuthenticationV3Params) WithUserName

WithUserName adds the userName to the user authentication v3 params

func (*UserAuthenticationV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserAuthenticationV3Reader

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

UserAuthenticationV3Reader is a Reader for the UserAuthenticationV3 structure.

func (*UserAuthenticationV3Reader) ReadResponse

func (o *UserAuthenticationV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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