Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCountryLocationV3(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error)
- func (a *Client) GetCountryLocationV3Short(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error)
- func (a *Client) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)
- func (a *Client) LogoutShort(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)
- func (a *Client) PlatformAuthenticationV3(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
- func (a *Client) PlatformAuthenticationV3Short(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UserAuthenticationV3(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)
- func (a *Client) UserAuthenticationV3Short(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)
- type ClientService
- type GetCountryLocationV3OK
- type GetCountryLocationV3Params
- func NewGetCountryLocationV3Params() *GetCountryLocationV3Params
- func NewGetCountryLocationV3ParamsWithContext(ctx context.Context) *GetCountryLocationV3Params
- func NewGetCountryLocationV3ParamsWithHTTPClient(client *http.Client) *GetCountryLocationV3Params
- func NewGetCountryLocationV3ParamsWithTimeout(timeout time.Duration) *GetCountryLocationV3Params
- func (o *GetCountryLocationV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCountryLocationV3Params) SetContext(ctx context.Context)
- func (o *GetCountryLocationV3Params) SetHTTPClient(client *http.Client)
- func (o *GetCountryLocationV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCountryLocationV3Params) SetTimeout(timeout time.Duration)
- func (o *GetCountryLocationV3Params) WithContext(ctx context.Context) *GetCountryLocationV3Params
- func (o *GetCountryLocationV3Params) WithHTTPClient(client *http.Client) *GetCountryLocationV3Params
- func (o *GetCountryLocationV3Params) WithTimeout(timeout time.Duration) *GetCountryLocationV3Params
- func (o *GetCountryLocationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCountryLocationV3Reader
- type LogoutNoContent
- type LogoutParams
- func (o *LogoutParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *LogoutParams) SetContext(ctx context.Context)
- func (o *LogoutParams) SetHTTPClient(client *http.Client)
- func (o *LogoutParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *LogoutParams) SetTimeout(timeout time.Duration)
- func (o *LogoutParams) WithContext(ctx context.Context) *LogoutParams
- func (o *LogoutParams) WithHTTPClient(client *http.Client) *LogoutParams
- func (o *LogoutParams) WithTimeout(timeout time.Duration) *LogoutParams
- func (o *LogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogoutReader
- type PlatformAuthenticationV3Found
- type PlatformAuthenticationV3Params
- func NewPlatformAuthenticationV3Params() *PlatformAuthenticationV3Params
- func NewPlatformAuthenticationV3ParamsWithContext(ctx context.Context) *PlatformAuthenticationV3Params
- func NewPlatformAuthenticationV3ParamsWithHTTPClient(client *http.Client) *PlatformAuthenticationV3Params
- func NewPlatformAuthenticationV3ParamsWithTimeout(timeout time.Duration) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PlatformAuthenticationV3Params) SetCode(code *string)
- func (o *PlatformAuthenticationV3Params) SetContext(ctx context.Context)
- func (o *PlatformAuthenticationV3Params) SetError(error *string)
- func (o *PlatformAuthenticationV3Params) SetHTTPClient(client *http.Client)
- func (o *PlatformAuthenticationV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PlatformAuthenticationV3Params) SetOpenidAssocHandle(openidAssocHandle *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidClaimedID(openidClaimedID *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidIdentity(openidIdentity *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidMode(openidMode *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidNs(openidNs *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidOpEndpoint(openidOpEndpoint *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidResponseNonce(openidResponseNonce *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidReturnTo(openidReturnTo *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidSig(openidSig *string)
- func (o *PlatformAuthenticationV3Params) SetOpenidSigned(openidSigned *string)
- func (o *PlatformAuthenticationV3Params) SetPlatformID(platformID string)
- func (o *PlatformAuthenticationV3Params) SetState(state string)
- func (o *PlatformAuthenticationV3Params) SetTimeout(timeout time.Duration)
- func (o *PlatformAuthenticationV3Params) WithCode(code *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithContext(ctx context.Context) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithError(error *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithHTTPClient(client *http.Client) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidAssocHandle(openidAssocHandle *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidClaimedID(openidClaimedID *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidIdentity(openidIdentity *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidMode(openidMode *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidNs(openidNs *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidOpEndpoint(openidOpEndpoint *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidResponseNonce(openidResponseNonce *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidReturnTo(openidReturnTo *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidSig(openidSig *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithOpenidSigned(openidSigned *string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithPlatformID(platformID string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithState(state string) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WithTimeout(timeout time.Duration) *PlatformAuthenticationV3Params
- func (o *PlatformAuthenticationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlatformAuthenticationV3Reader
- type UserAuthenticationV3Found
- type UserAuthenticationV3Params
- func NewUserAuthenticationV3Params() *UserAuthenticationV3Params
- func NewUserAuthenticationV3ParamsWithContext(ctx context.Context) *UserAuthenticationV3Params
- func NewUserAuthenticationV3ParamsWithHTTPClient(client *http.Client) *UserAuthenticationV3Params
- func NewUserAuthenticationV3ParamsWithTimeout(timeout time.Duration) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UserAuthenticationV3Params) SetClientID(clientID *string)
- func (o *UserAuthenticationV3Params) SetContext(ctx context.Context)
- func (o *UserAuthenticationV3Params) SetExtendExp(extendExp *bool)
- func (o *UserAuthenticationV3Params) SetHTTPClient(client *http.Client)
- func (o *UserAuthenticationV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UserAuthenticationV3Params) SetPassword(password string)
- func (o *UserAuthenticationV3Params) SetRedirectURI(redirectURI *string)
- func (o *UserAuthenticationV3Params) SetRequestID(requestID string)
- func (o *UserAuthenticationV3Params) SetTimeout(timeout time.Duration)
- func (o *UserAuthenticationV3Params) SetUserName(userName string)
- func (o *UserAuthenticationV3Params) WithClientID(clientID *string) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithContext(ctx context.Context) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithExtendExp(extendExp *bool) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithHTTPClient(client *http.Client) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithPassword(password string) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithRedirectURI(redirectURI *string) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithRequestID(requestID string) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithTimeout(timeout time.Duration) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WithUserName(userName string) *UserAuthenticationV3Params
- func (o *UserAuthenticationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserAuthenticationV3Reader
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) GetCountryLocationV3 ¶ added in v0.2.0
func (a *Client) GetCountryLocationV3(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error)
GetCountryLocationV3 gets country location
<p>This endpoint get country location based on the request.</p>
func (*Client) GetCountryLocationV3Short ¶ added in v0.8.0
func (a *Client) GetCountryLocationV3Short(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error)
func (*Client) Logout ¶ added in v0.2.0
func (a *Client) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)
Logout logouts
<p>This endpoint is used to remove <b>access_token</b> cookie and <b>refresh_token</b> cookie.</p>
func (*Client) LogoutShort ¶ added in v0.8.0
func (a *Client) LogoutShort(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)
func (*Client) PlatformAuthenticationV3 ¶ added in v0.2.0
func (a *Client) PlatformAuthenticationV3(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
PlatformAuthenticationV3 platforms authentication API This endpoint authenticates user platform. It validates user to its respective platforms. Deactivated or login-banned users are unable to login. <br> <h2>Supported platforms:</h2><ul> <li><strong>steamopenid</strong></li>Steam login page will redirects to this endpoint after login success as previously defined on openID request parameter <code>openid.return_to</code> when request login to steam https://openid.net/specs/openid-authentication-2_0.html#anchor27 <li><strong>ps4web</strong></li>PS4 login page will redirects to this endpoint after login success as previously defined on authorize request parameter <code>redirect_uri</code> https://ps4.siedev.net/resources/documents/WebAPI/1/Auth_WebAPI-Reference/0002.html#0GetAccessTokenUsingAuthorizationCode <li><strong>xblweb</strong></li>XBL login page will redirects to this endpoint after login success as previously defined on authorize request parameter <code>redirect_uri</code> <li><strong>epicgames</strong></li>Epicgames login page will redirects to this endpoint after login success or an error occurred. If error, it redirects to the login page. <li><strong>twitch</strong></li>Twitch login page will redirects to this endpoint after login success as previously defined on authorize request parameter <code>redirect_uri</code> <li><strong>facebook</strong></li>Facebook login page will redirects to this endpoint after login success as previously defined on authorize request parameter <code>redirect_uri</code> <li><strong>google</strong></li>Google login page will redirects to this endpoint after login success as previously defined on authorize request parameter <code>redirect_uri</code> </ul> action code : 10709
func (*Client) PlatformAuthenticationV3Short ¶ added in v0.8.0
func (a *Client) PlatformAuthenticationV3Short(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
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
func (*Client) UserAuthenticationV3Short ¶ added in v0.8.0
func (a *Client) UserAuthenticationV3Short(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)
type ClientService ¶
type ClientService interface { GetCountryLocationV3(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error) GetCountryLocationV3Short(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error) LogoutShort(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error) PlatformAuthenticationV3(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error) PlatformAuthenticationV3Short(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error) UserAuthenticationV3(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error) UserAuthenticationV3Short(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 GetCountryLocationV3OK ¶ added in v0.2.0
type GetCountryLocationV3OK struct {
Payload *iamclientmodels.OauthmodelCountryLocationResponse
}
GetCountryLocationV3OK handles this case with default header values.
Country Location info returned
func NewGetCountryLocationV3OK ¶ added in v0.2.0
func NewGetCountryLocationV3OK() *GetCountryLocationV3OK
NewGetCountryLocationV3OK creates a GetCountryLocationV3OK with default headers values
func (*GetCountryLocationV3OK) Error ¶ added in v0.2.0
func (o *GetCountryLocationV3OK) Error() string
func (*GetCountryLocationV3OK) GetPayload ¶ added in v0.2.0
func (o *GetCountryLocationV3OK) GetPayload() *iamclientmodels.OauthmodelCountryLocationResponse
type GetCountryLocationV3Params ¶ added in v0.2.0
type GetCountryLocationV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCountryLocationV3Params contains all the parameters to send to the API endpoint for the get country location v3 operation typically these are written to a http.Request
func NewGetCountryLocationV3Params ¶ added in v0.2.0
func NewGetCountryLocationV3Params() *GetCountryLocationV3Params
NewGetCountryLocationV3Params creates a new GetCountryLocationV3Params object with the default values initialized.
func NewGetCountryLocationV3ParamsWithContext ¶ added in v0.2.0
func NewGetCountryLocationV3ParamsWithContext(ctx context.Context) *GetCountryLocationV3Params
NewGetCountryLocationV3ParamsWithContext creates a new GetCountryLocationV3Params object with the default values initialized, and the ability to set a context for a request
func NewGetCountryLocationV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewGetCountryLocationV3ParamsWithHTTPClient(client *http.Client) *GetCountryLocationV3Params
NewGetCountryLocationV3ParamsWithHTTPClient creates a new GetCountryLocationV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCountryLocationV3ParamsWithTimeout ¶ added in v0.2.0
func NewGetCountryLocationV3ParamsWithTimeout(timeout time.Duration) *GetCountryLocationV3Params
NewGetCountryLocationV3ParamsWithTimeout creates a new GetCountryLocationV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetCountryLocationV3Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetCountryLocationV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get country location v3 params
func (*GetCountryLocationV3Params) SetContext ¶ added in v0.2.0
func (o *GetCountryLocationV3Params) SetContext(ctx context.Context)
SetContext adds the context to the get country location v3 params
func (*GetCountryLocationV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *GetCountryLocationV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get country location v3 params
func (*GetCountryLocationV3Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetCountryLocationV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get country location v3 params
func (*GetCountryLocationV3Params) SetTimeout ¶ added in v0.2.0
func (o *GetCountryLocationV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get country location v3 params
func (*GetCountryLocationV3Params) WithContext ¶ added in v0.2.0
func (o *GetCountryLocationV3Params) WithContext(ctx context.Context) *GetCountryLocationV3Params
WithContext adds the context to the get country location v3 params
func (*GetCountryLocationV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *GetCountryLocationV3Params) WithHTTPClient(client *http.Client) *GetCountryLocationV3Params
WithHTTPClient adds the HTTPClient to the get country location v3 params
func (*GetCountryLocationV3Params) WithTimeout ¶ added in v0.2.0
func (o *GetCountryLocationV3Params) WithTimeout(timeout time.Duration) *GetCountryLocationV3Params
WithTimeout adds the timeout to the get country location v3 params
func (*GetCountryLocationV3Params) WriteToRequest ¶ added in v0.2.0
func (o *GetCountryLocationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCountryLocationV3Reader ¶ added in v0.2.0
type GetCountryLocationV3Reader struct {
// contains filtered or unexported fields
}
GetCountryLocationV3Reader is a Reader for the GetCountryLocationV3 structure.
func (*GetCountryLocationV3Reader) ReadResponse ¶ added in v0.2.0
func (o *GetCountryLocationV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LogoutNoContent ¶ added in v0.2.0
type LogoutNoContent struct { }
LogoutNoContent handles this case with default header values.
Logout successfully
func NewLogoutNoContent ¶ added in v0.2.0
func NewLogoutNoContent() *LogoutNoContent
NewLogoutNoContent creates a LogoutNoContent with default headers values
func (*LogoutNoContent) Error ¶ added in v0.2.0
func (o *LogoutNoContent) Error() string
type LogoutParams ¶ added in v0.2.0
type LogoutParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LogoutParams contains all the parameters to send to the API endpoint for the logout operation typically these are written to a http.Request
func NewLogoutParams ¶ added in v0.2.0
func NewLogoutParams() *LogoutParams
NewLogoutParams creates a new LogoutParams object with the default values initialized.
func NewLogoutParamsWithContext ¶ added in v0.2.0
func NewLogoutParamsWithContext(ctx context.Context) *LogoutParams
NewLogoutParamsWithContext creates a new LogoutParams object with the default values initialized, and the ability to set a context for a request
func NewLogoutParamsWithHTTPClient ¶ added in v0.2.0
func NewLogoutParamsWithHTTPClient(client *http.Client) *LogoutParams
NewLogoutParamsWithHTTPClient creates a new LogoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLogoutParamsWithTimeout ¶ added in v0.2.0
func NewLogoutParamsWithTimeout(timeout time.Duration) *LogoutParams
NewLogoutParamsWithTimeout creates a new LogoutParams object with the default values initialized, and the ability to set a timeout on a request
func (*LogoutParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *LogoutParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the logout params
func (*LogoutParams) SetContext ¶ added in v0.2.0
func (o *LogoutParams) SetContext(ctx context.Context)
SetContext adds the context to the logout params
func (*LogoutParams) SetHTTPClient ¶ added in v0.2.0
func (o *LogoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the logout params
func (*LogoutParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *LogoutParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the logout params
func (*LogoutParams) SetTimeout ¶ added in v0.2.0
func (o *LogoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the logout params
func (*LogoutParams) WithContext ¶ added in v0.2.0
func (o *LogoutParams) WithContext(ctx context.Context) *LogoutParams
WithContext adds the context to the logout params
func (*LogoutParams) WithHTTPClient ¶ added in v0.2.0
func (o *LogoutParams) WithHTTPClient(client *http.Client) *LogoutParams
WithHTTPClient adds the HTTPClient to the logout params
func (*LogoutParams) WithTimeout ¶ added in v0.2.0
func (o *LogoutParams) WithTimeout(timeout time.Duration) *LogoutParams
WithTimeout adds the timeout to the logout params
func (*LogoutParams) WriteToRequest ¶ added in v0.2.0
func (o *LogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogoutReader ¶ added in v0.2.0
type LogoutReader struct {
// contains filtered or unexported fields
}
LogoutReader is a Reader for the Logout structure.
func (*LogoutReader) ReadResponse ¶ added in v0.2.0
func (o *LogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlatformAuthenticationV3Found ¶ added in v0.2.0
type PlatformAuthenticationV3Found struct { /*The Location header */ Location string }
PlatformAuthenticationV3Found handles this case with default header values.
Found. Redirect to clients redirection URL with either code or error on the query parameter
func NewPlatformAuthenticationV3Found ¶ added in v0.2.0
func NewPlatformAuthenticationV3Found() *PlatformAuthenticationV3Found
NewPlatformAuthenticationV3Found creates a PlatformAuthenticationV3Found with default headers values
func (*PlatformAuthenticationV3Found) Error ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Found) Error() string
type PlatformAuthenticationV3Params ¶ added in v0.2.0
type PlatformAuthenticationV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Code The authorization code from 3rd party OAuth server */ Code *string /*Error The error message from 3rd party OAuth server */ Error *string /*OpenidAssocHandle [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidAssocHandle *string /*OpenidClaimedID [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidClaimedID *string /*OpenidIdentity [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidIdentity *string /*OpenidMode [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidMode *string /*OpenidNs [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidNs *string /*OpenidOpEndpoint [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidOpEndpoint *string /*OpenidResponseNonce [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidResponseNonce *string /*OpenidReturnTo [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidReturnTo *string /*OpenidSig [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidSig *string /*OpenidSigned [steamopenid] Steam OpenID response parameters https://openid.net/specs/openid-authentication-2_0.html#positive_assertions */ OpenidSigned *string /*PlatformID Platform ID */ PlatformID string /*State State that contains request ID retrieved from authorize endpoint ([GET] iam/v3/oauth/authorize) */ State string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlatformAuthenticationV3Params contains all the parameters to send to the API endpoint for the platform authentication v3 operation typically these are written to a http.Request
func NewPlatformAuthenticationV3Params ¶ added in v0.2.0
func NewPlatformAuthenticationV3Params() *PlatformAuthenticationV3Params
NewPlatformAuthenticationV3Params creates a new PlatformAuthenticationV3Params object with the default values initialized.
func NewPlatformAuthenticationV3ParamsWithContext ¶ added in v0.2.0
func NewPlatformAuthenticationV3ParamsWithContext(ctx context.Context) *PlatformAuthenticationV3Params
NewPlatformAuthenticationV3ParamsWithContext creates a new PlatformAuthenticationV3Params object with the default values initialized, and the ability to set a context for a request
func NewPlatformAuthenticationV3ParamsWithHTTPClient ¶ added in v0.2.0
func NewPlatformAuthenticationV3ParamsWithHTTPClient(client *http.Client) *PlatformAuthenticationV3Params
NewPlatformAuthenticationV3ParamsWithHTTPClient creates a new PlatformAuthenticationV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPlatformAuthenticationV3ParamsWithTimeout ¶ added in v0.2.0
func NewPlatformAuthenticationV3ParamsWithTimeout(timeout time.Duration) *PlatformAuthenticationV3Params
NewPlatformAuthenticationV3ParamsWithTimeout creates a new PlatformAuthenticationV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*PlatformAuthenticationV3Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PlatformAuthenticationV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetCode ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetCode(code *string)
SetCode adds the code to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetContext ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetContext(ctx context.Context)
SetContext adds the context to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetError ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetError(error *string)
SetError adds the error to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetHTTPClient ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PlatformAuthenticationV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidAssocHandle ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidAssocHandle(openidAssocHandle *string)
SetOpenidAssocHandle adds the openidAssocHandle to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidClaimedID ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidClaimedID(openidClaimedID *string)
SetOpenidClaimedID adds the openidClaimedId to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidIdentity ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidIdentity(openidIdentity *string)
SetOpenidIdentity adds the openidIdentity to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidMode ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidMode(openidMode *string)
SetOpenidMode adds the openidMode to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidNs ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidNs(openidNs *string)
SetOpenidNs adds the openidNs to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidOpEndpoint ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidOpEndpoint(openidOpEndpoint *string)
SetOpenidOpEndpoint adds the openidOpEndpoint to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidResponseNonce ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidResponseNonce(openidResponseNonce *string)
SetOpenidResponseNonce adds the openidResponseNonce to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidReturnTo ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidReturnTo(openidReturnTo *string)
SetOpenidReturnTo adds the openidReturnTo to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidSig ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidSig(openidSig *string)
SetOpenidSig adds the openidSig to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetOpenidSigned ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetOpenidSigned(openidSigned *string)
SetOpenidSigned adds the openidSigned to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetPlatformID ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetPlatformID(platformID string)
SetPlatformID adds the platformId to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetState ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetState(state string)
SetState adds the state to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) SetTimeout ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithCode ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithCode(code *string) *PlatformAuthenticationV3Params
WithCode adds the code to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithContext ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithContext(ctx context.Context) *PlatformAuthenticationV3Params
WithContext adds the context to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithError ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithError(error *string) *PlatformAuthenticationV3Params
WithError adds the error to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithHTTPClient ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithHTTPClient(client *http.Client) *PlatformAuthenticationV3Params
WithHTTPClient adds the HTTPClient to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidAssocHandle ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidAssocHandle(openidAssocHandle *string) *PlatformAuthenticationV3Params
WithOpenidAssocHandle adds the openidAssocHandle to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidClaimedID ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidClaimedID(openidClaimedID *string) *PlatformAuthenticationV3Params
WithOpenidClaimedID adds the openidClaimedID to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidIdentity ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidIdentity(openidIdentity *string) *PlatformAuthenticationV3Params
WithOpenidIdentity adds the openidIdentity to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidMode ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidMode(openidMode *string) *PlatformAuthenticationV3Params
WithOpenidMode adds the openidMode to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidNs ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidNs(openidNs *string) *PlatformAuthenticationV3Params
WithOpenidNs adds the openidNs to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidOpEndpoint ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidOpEndpoint(openidOpEndpoint *string) *PlatformAuthenticationV3Params
WithOpenidOpEndpoint adds the openidOpEndpoint to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidResponseNonce ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidResponseNonce(openidResponseNonce *string) *PlatformAuthenticationV3Params
WithOpenidResponseNonce adds the openidResponseNonce to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidReturnTo ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidReturnTo(openidReturnTo *string) *PlatformAuthenticationV3Params
WithOpenidReturnTo adds the openidReturnTo to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidSig ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidSig(openidSig *string) *PlatformAuthenticationV3Params
WithOpenidSig adds the openidSig to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithOpenidSigned ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithOpenidSigned(openidSigned *string) *PlatformAuthenticationV3Params
WithOpenidSigned adds the openidSigned to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithPlatformID ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithPlatformID(platformID string) *PlatformAuthenticationV3Params
WithPlatformID adds the platformID to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithState ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithState(state string) *PlatformAuthenticationV3Params
WithState adds the state to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WithTimeout ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WithTimeout(timeout time.Duration) *PlatformAuthenticationV3Params
WithTimeout adds the timeout to the platform authentication v3 params
func (*PlatformAuthenticationV3Params) WriteToRequest ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlatformAuthenticationV3Reader ¶ added in v0.2.0
type PlatformAuthenticationV3Reader struct {
// contains filtered or unexported fields
}
PlatformAuthenticationV3Reader is a Reader for the PlatformAuthenticationV3 structure.
func (*PlatformAuthenticationV3Reader) ReadResponse ¶ added in v0.2.0
func (o *PlatformAuthenticationV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserAuthenticationV3Found ¶
type UserAuthenticationV3Found struct { /*The Location header */ 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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*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 AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UserAuthenticationV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the user authentication v3 params
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UserAuthenticationV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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 ¶
func (o *UserAuthenticationV3Params) WithContext(ctx context.Context) *UserAuthenticationV3Params
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 ¶
func (o *UserAuthenticationV3Params) WithHTTPClient(client *http.Client) *UserAuthenticationV3Params
WithHTTPClient adds the HTTPClient to the user authentication v3 params
func (*UserAuthenticationV3Params) WithPassword ¶
func (o *UserAuthenticationV3Params) WithPassword(password string) *UserAuthenticationV3Params
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 ¶
func (o *UserAuthenticationV3Params) WithTimeout(timeout time.Duration) *UserAuthenticationV3Params
WithTimeout adds the timeout to the user authentication v3 params
func (*UserAuthenticationV3Params) WithUserName ¶
func (o *UserAuthenticationV3Params) WithUserName(userName string) *UserAuthenticationV3Params
WithUserName adds the userName to the user authentication v3 params
func (*UserAuthenticationV3Params) WriteToRequest ¶
func (o *UserAuthenticationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.