o_auth2_0_extension

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationWithPlatformLinkV3BadRequest added in v0.20.0

type AuthenticationWithPlatformLinkV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AuthenticationWithPlatformLinkV3BadRequest handles this case with default header values.

Invalid username or password.

func NewAuthenticationWithPlatformLinkV3BadRequest added in v0.20.0

func NewAuthenticationWithPlatformLinkV3BadRequest() *AuthenticationWithPlatformLinkV3BadRequest

NewAuthenticationWithPlatformLinkV3BadRequest creates a AuthenticationWithPlatformLinkV3BadRequest with default headers values

func (*AuthenticationWithPlatformLinkV3BadRequest) Error added in v0.20.0

func (*AuthenticationWithPlatformLinkV3BadRequest) GetPayload added in v0.20.0

func (*AuthenticationWithPlatformLinkV3BadRequest) ToJSONString added in v0.25.0

type AuthenticationWithPlatformLinkV3Conflict added in v0.20.0

type AuthenticationWithPlatformLinkV3Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AuthenticationWithPlatformLinkV3Conflict handles this case with default header values.

User already link this platform's another account'.

func NewAuthenticationWithPlatformLinkV3Conflict added in v0.20.0

func NewAuthenticationWithPlatformLinkV3Conflict() *AuthenticationWithPlatformLinkV3Conflict

NewAuthenticationWithPlatformLinkV3Conflict creates a AuthenticationWithPlatformLinkV3Conflict with default headers values

func (*AuthenticationWithPlatformLinkV3Conflict) Error added in v0.20.0

func (*AuthenticationWithPlatformLinkV3Conflict) GetPayload added in v0.20.0

func (*AuthenticationWithPlatformLinkV3Conflict) ToJSONString added in v0.25.0

type AuthenticationWithPlatformLinkV3OK added in v0.20.0

type AuthenticationWithPlatformLinkV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

AuthenticationWithPlatformLinkV3OK handles this case with default header values.

Succeed to authenticate and link platform account.

func NewAuthenticationWithPlatformLinkV3OK added in v0.20.0

func NewAuthenticationWithPlatformLinkV3OK() *AuthenticationWithPlatformLinkV3OK

NewAuthenticationWithPlatformLinkV3OK creates a AuthenticationWithPlatformLinkV3OK with default headers values

func (*AuthenticationWithPlatformLinkV3OK) Error added in v0.20.0

func (*AuthenticationWithPlatformLinkV3OK) GetPayload added in v0.20.0

func (*AuthenticationWithPlatformLinkV3OK) ToJSONString added in v0.25.0

func (o *AuthenticationWithPlatformLinkV3OK) ToJSONString() string

type AuthenticationWithPlatformLinkV3Params added in v0.20.0

type AuthenticationWithPlatformLinkV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ExtendExp
	  Extend expiration date of refresh token

	*/
	ExtendExp *bool
	/*ClientID
	  Client ID

	*/
	ClientID string
	/*LinkingToken
	  Platform linking Token

	*/
	LinkingToken string
	/*Password
	  Account password

	*/
	Password string
	/*Username
	  Account username

	*/
	Username string

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

AuthenticationWithPlatformLinkV3Params contains all the parameters to send to the API endpoint for the authentication with platform link v3 operation typically these are written to a http.Request

func NewAuthenticationWithPlatformLinkV3Params added in v0.20.0

func NewAuthenticationWithPlatformLinkV3Params() *AuthenticationWithPlatformLinkV3Params

NewAuthenticationWithPlatformLinkV3Params creates a new AuthenticationWithPlatformLinkV3Params object with the default values initialized.

func NewAuthenticationWithPlatformLinkV3ParamsWithContext added in v0.20.0

func NewAuthenticationWithPlatformLinkV3ParamsWithContext(ctx context.Context) *AuthenticationWithPlatformLinkV3Params

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

func NewAuthenticationWithPlatformLinkV3ParamsWithHTTPClient added in v0.20.0

func NewAuthenticationWithPlatformLinkV3ParamsWithHTTPClient(client *http.Client) *AuthenticationWithPlatformLinkV3Params

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

func NewAuthenticationWithPlatformLinkV3ParamsWithTimeout added in v0.20.0

func NewAuthenticationWithPlatformLinkV3ParamsWithTimeout(timeout time.Duration) *AuthenticationWithPlatformLinkV3Params

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

func (*AuthenticationWithPlatformLinkV3Params) SetAuthInfoWriter added in v0.20.0

func (o *AuthenticationWithPlatformLinkV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetClientID added in v0.20.0

func (o *AuthenticationWithPlatformLinkV3Params) SetClientID(clientID string)

SetClientID adds the clientId to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetContext added in v0.20.0

SetContext adds the context to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetExtendExp added in v0.20.0

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

SetExtendExp adds the extendExp to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetHTTPClient added in v0.20.0

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

SetHTTPClient adds the HTTPClient to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetHTTPClientTransport added in v0.20.0

func (o *AuthenticationWithPlatformLinkV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetLinkingToken added in v0.20.0

func (o *AuthenticationWithPlatformLinkV3Params) SetLinkingToken(linkingToken string)

SetLinkingToken adds the linkingToken to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetPassword added in v0.20.0

func (o *AuthenticationWithPlatformLinkV3Params) SetPassword(password string)

SetPassword adds the password to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetTimeout added in v0.20.0

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

SetTimeout adds the timeout to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) SetUsername added in v0.20.0

func (o *AuthenticationWithPlatformLinkV3Params) SetUsername(username string)

SetUsername adds the username to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithClientID added in v0.20.0

WithClientID adds the clientID to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithContext added in v0.20.0

WithContext adds the context to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithExtendExp added in v0.20.0

WithExtendExp adds the extendExp to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithHTTPClient added in v0.20.0

WithHTTPClient adds the HTTPClient to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithLinkingToken added in v0.20.0

WithLinkingToken adds the linkingToken to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithPassword added in v0.20.0

WithPassword adds the password to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithTimeout added in v0.20.0

WithTimeout adds the timeout to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WithUsername added in v0.20.0

WithUsername adds the username to the authentication with platform link v3 params

func (*AuthenticationWithPlatformLinkV3Params) WriteToRequest added in v0.20.0

WriteToRequest writes these params to a swagger request

type AuthenticationWithPlatformLinkV3Reader added in v0.20.0

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

AuthenticationWithPlatformLinkV3Reader is a Reader for the AuthenticationWithPlatformLinkV3 structure.

func (*AuthenticationWithPlatformLinkV3Reader) ReadResponse added in v0.20.0

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

ReadResponse reads a server response into the received o.

type AuthenticationWithPlatformLinkV3Unauthorized added in v0.20.0

type AuthenticationWithPlatformLinkV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

AuthenticationWithPlatformLinkV3Unauthorized handles this case with default header values.

Need 2FA.

func NewAuthenticationWithPlatformLinkV3Unauthorized added in v0.20.0

func NewAuthenticationWithPlatformLinkV3Unauthorized() *AuthenticationWithPlatformLinkV3Unauthorized

NewAuthenticationWithPlatformLinkV3Unauthorized creates a AuthenticationWithPlatformLinkV3Unauthorized with default headers values

func (*AuthenticationWithPlatformLinkV3Unauthorized) Error added in v0.20.0

func (*AuthenticationWithPlatformLinkV3Unauthorized) GetPayload added in v0.20.0

func (*AuthenticationWithPlatformLinkV3Unauthorized) ToJSONString added in v0.25.0

type Client

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

Client for o auth2 0 extension API

func (*Client) AuthenticationWithPlatformLinkV3 deprecated added in v0.20.0

Deprecated: 2022-08-10 - Use AuthenticationWithPlatformLinkV3Short instead.

AuthenticationWithPlatformLinkV3 authentication with platform link This endpoint is being used to authenticate a user account and perform platform link. It validates user's email / username and password. If user already enable 2FA, then invoke /mfa/verify using mfa_token from this endpoint response.

## Device Cookie Validation

Device Cookie is used to protect the user account from brute force login attack, [more detail from OWASP. This endpoint will read device cookie from cookie auth-trust-id. If device cookie not found, it will generate a new one and set it into cookie when successfully authenticate.

func (*Client) AuthenticationWithPlatformLinkV3Short added in v0.20.0

func (a *Client) AuthenticationWithPlatformLinkV3Short(params *AuthenticationWithPlatformLinkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthenticationWithPlatformLinkV3OK, error)

AuthenticationWithPlatformLinkV3Short authentication with platform link This endpoint is being used to authenticate a user account and perform platform link. It validates user's email / username and password. If user already enable 2FA, then invoke /mfa/verify using mfa_token from this endpoint response.

## Device Cookie Validation

Device Cookie is used to protect the user account from brute force login attack, [more detail from OWASP. This endpoint will read device cookie from cookie auth-trust-id. If device cookie not found, it will generate a new one and set it into cookie when successfully authenticate.

func (*Client) GenerateTokenByNewHeadlessAccountV3 deprecated added in v0.20.0

Deprecated: 2022-08-10 - Use GenerateTokenByNewHeadlessAccountV3Short instead.

GenerateTokenByNewHeadlessAccountV3 create headless account and response token

This endpoint is being used to create headless account after 3rd platform authenticated, and response token . The 'linkingToken' in request body is received from "/platforms/{platformId}/token" when 3rd platform account is not linked to justice account yet.'

func (*Client) GenerateTokenByNewHeadlessAccountV3Short added in v0.20.0

func (a *Client) GenerateTokenByNewHeadlessAccountV3Short(params *GenerateTokenByNewHeadlessAccountV3Params, authInfo runtime.ClientAuthInfoWriter) (*GenerateTokenByNewHeadlessAccountV3OK, error)

GenerateTokenByNewHeadlessAccountV3Short create headless account and response token

This endpoint is being used to create headless account after 3rd platform authenticated, and response token . The 'linkingToken' in request body is received from "/platforms/{platformId}/token" when 3rd platform account is not linked to justice account yet.'

func (*Client) GetCountryLocationV3 deprecated added in v0.2.0

func (a *Client) GetCountryLocationV3(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error)

Deprecated: 2022-08-10 - Use GetCountryLocationV3Short instead.

GetCountryLocationV3 get country location

This endpoint get country location based on the request.

func (*Client) GetCountryLocationV3Short added in v0.8.0

func (a *Client) GetCountryLocationV3Short(params *GetCountryLocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetCountryLocationV3OK, error)

GetCountryLocationV3Short get country location

This endpoint get country location based on the request.

func (*Client) Logout deprecated added in v0.2.0

func (a *Client) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)

Deprecated: 2022-08-10 - Use LogoutShort instead.

Logout logout

This endpoint is used to remove access_token , refresh_token from cookie and revoke token from usage.

Supported methods:

  • VerifyToken to verify token from header

  • AddTokenToRevocationList to revoke token with TTL

func (*Client) LogoutShort added in v0.8.0

func (a *Client) LogoutShort(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)

LogoutShort logout

This endpoint is used to remove access_token , refresh_token from cookie and revoke token from usage.

Supported methods:

  • VerifyToken to verify token from header

  • AddTokenToRevocationList to revoke token with TTL

func (*Client) PlatformAuthenticationV3 deprecated added in v0.2.0

func (a *Client) PlatformAuthenticationV3(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)

Deprecated: 2022-08-10 - Use PlatformAuthenticationV3Short instead.

PlatformAuthenticationV3 platform authentication api This endpoint authenticates user platform. It validates user to its respective platforms. Deactivated or login-banned users are unable to login.

If already linked with justice account or match SSO condition, will redirect to client's redirect url with code. then invoke '/iam/v3/oauth/token' with grant_type=authorization_code

If already not linked with justice account and not match SSO condition, will redirect to client's account linking page

## Supported platforms:

  • steamopenid

Steam login page will redirects to this endpoint after login success as previously defined on openID request parameter `openid.return_to` when request login to steam https://openid.net/specs/openid-authentication-2_0.html#anchor27

  • ps4web

PS4 login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri` https://ps4.siedev.net/resources/documents/WebAPI/1/Auth_WebAPI-Reference/0002.html#0GetAccessTokenUsingAuthorizationCode

  • xblweb

XBL login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • epicgames

Epicgames login page will redirects to this endpoint after login success or an error occurred. If error, it redirects to the login page.

  • twitch

Twitch login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • facebook

Facebook login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • google

Google login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • snapchat

Snapchat login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • discord

Discord login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri` action code : 10709

func (*Client) PlatformAuthenticationV3Short added in v0.8.0

func (a *Client) PlatformAuthenticationV3Short(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)

PlatformAuthenticationV3Short platform authentication api This endpoint authenticates user platform. It validates user to its respective platforms. Deactivated or login-banned users are unable to login.

If already linked with justice account or match SSO condition, will redirect to client's redirect url with code. then invoke '/iam/v3/oauth/token' with grant_type=authorization_code

If already not linked with justice account and not match SSO condition, will redirect to client's account linking page

## Supported platforms:

  • steamopenid

Steam login page will redirects to this endpoint after login success as previously defined on openID request parameter `openid.return_to` when request login to steam https://openid.net/specs/openid-authentication-2_0.html#anchor27

  • ps4web

PS4 login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri` https://ps4.siedev.net/resources/documents/WebAPI/1/Auth_WebAPI-Reference/0002.html#0GetAccessTokenUsingAuthorizationCode

  • xblweb

XBL login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • epicgames

Epicgames login page will redirects to this endpoint after login success or an error occurred. If error, it redirects to the login page.

  • twitch

Twitch login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • facebook

Facebook login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • google

Google login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • snapchat

Snapchat login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri`

  • discord

Discord login page will redirects to this endpoint after login success as previously defined on authorize request parameter `redirect_uri` action code : 10709

func (*Client) RequestGameTokenCodeResponseV3 deprecated added in v0.27.0

func (a *Client) RequestGameTokenCodeResponseV3(params *RequestGameTokenCodeResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenCodeResponseV3OK, error)

Deprecated: 2022-08-10 - Use RequestGameTokenCodeResponseV3Short instead.

RequestGameTokenCodeResponseV3 request code to get game token

This endpoint is being used to request the code to generate publisher user's game token.

It require a valid user token with publisher namespace.

Path namespace should be a game namespace.

Client ID should match the target namespace. It response a code and it can be consumed by /iam/v3/token/exchange

func (*Client) RequestGameTokenCodeResponseV3Short added in v0.27.0

func (a *Client) RequestGameTokenCodeResponseV3Short(params *RequestGameTokenCodeResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenCodeResponseV3OK, error)

RequestGameTokenCodeResponseV3Short request code to get game token

This endpoint is being used to request the code to generate publisher user's game token.

It require a valid user token with publisher namespace.

Path namespace should be a game namespace.

Client ID should match the target namespace. It response a code and it can be consumed by /iam/v3/token/exchange

func (*Client) RequestGameTokenResponseV3 deprecated added in v0.27.0

func (a *Client) RequestGameTokenResponseV3(params *RequestGameTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenResponseV3OK, error)

Deprecated: 2022-08-10 - Use RequestGameTokenResponseV3Short instead.

RequestGameTokenResponseV3 generate game token by code

This endpoint is being used to generate publisher user's game token.

It require basic header with ClientID and Secret, it should match the ClientID when call /iam/v3/namespace/{namespace}/token/request

It required a code which can be generated from /iam/v3/namespace/{namespace}/token/request.

func (*Client) RequestGameTokenResponseV3Short added in v0.27.0

func (a *Client) RequestGameTokenResponseV3Short(params *RequestGameTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenResponseV3OK, error)

RequestGameTokenResponseV3Short generate game token by code

This endpoint is being used to generate publisher user's game token.

It require basic header with ClientID and Secret, it should match the ClientID when call /iam/v3/namespace/{namespace}/token/request

It required a code which can be generated from /iam/v3/namespace/{namespace}/token/request.

func (*Client) RequestOneTimeLinkingCodeV3 deprecated added in v0.34.0

func (a *Client) RequestOneTimeLinkingCodeV3(params *RequestOneTimeLinkingCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestOneTimeLinkingCodeV3OK, error)

Deprecated: 2022-08-10 - Use RequestOneTimeLinkingCodeV3Short instead.

RequestOneTimeLinkingCodeV3 generate one time linking code

This endpoint is being used to request the one time code [8 length] for headless account to link or upgrade to a full account.

It require a valid user token.

Should specify the target platform id and current user should already linked to this platform.

Current user should be a headless account.

## Supported platforms:

  • steam

  • steamopenid

  • facebook

  • google

  • oculus

  • twitch

  • discord

  • android

  • ios

  • apple

  • device

  • justice

  • epicgames

  • ps4

  • ps5

  • nintendo

  • awscognito

  • live

  • xblweb

  • netflix

  • snapchat

func (*Client) RequestOneTimeLinkingCodeV3Short added in v0.34.0

func (a *Client) RequestOneTimeLinkingCodeV3Short(params *RequestOneTimeLinkingCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestOneTimeLinkingCodeV3OK, error)

RequestOneTimeLinkingCodeV3Short generate one time linking code

This endpoint is being used to request the one time code [8 length] for headless account to link or upgrade to a full account.

It require a valid user token.

Should specify the target platform id and current user should already linked to this platform.

Current user should be a headless account.

## Supported platforms:

  • steam

  • steamopenid

  • facebook

  • google

  • oculus

  • twitch

  • discord

  • android

  • ios

  • apple

  • device

  • justice

  • epicgames

  • ps4

  • ps5

  • nintendo

  • awscognito

  • live

  • xblweb

  • netflix

  • snapchat

func (*Client) RequestTokenByOneTimeLinkCodeResponseV3 deprecated added in v0.34.0

func (a *Client) RequestTokenByOneTimeLinkCodeResponseV3(params *RequestTokenByOneTimeLinkCodeResponseV3Params) (*RequestTokenByOneTimeLinkCodeResponseV3OK, error)

Deprecated: 2022-08-10 - Use RequestTokenByOneTimeLinkCodeResponseV3Short instead.

This endpoint is being used to generate user's token by one time link code.

It require publisher ClientID

It required a code which can be generated from /iam/v3/link/code/request.

This endpoint support creating transient token by utilizing isTransient param:

isTransient=true will generate a transient token with a short Time Expiration and without a refresh token

isTransient=false will consume the one-time code and generate the access token with a refresh token.

func (*Client) RequestTokenByOneTimeLinkCodeResponseV3Short added in v0.34.0

func (a *Client) RequestTokenByOneTimeLinkCodeResponseV3Short(params *RequestTokenByOneTimeLinkCodeResponseV3Params) (*RequestTokenByOneTimeLinkCodeResponseV3OK, error)

RequestTokenByOneTimeLinkCodeResponseV3Short generate publisher token by headless account's one time link code

This endpoint is being used to generate user's token by one time link code.

It require publisher ClientID

It required a code which can be generated from /iam/v3/link/code/request.

This endpoint support creating transient token by utilizing isTransient param:

isTransient=true will generate a transient token with a short Time Expiration and without a refresh token

isTransient=false will consume the one-time code and generate the access token with a refresh token.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UserAuthenticationV3 deprecated

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

Deprecated: 2022-08-10 - Use UserAuthenticationV3Short instead.

UserAuthenticationV3 authentication api 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.

## Device Cookie Validation

Device Cookie is used to protect the user account from brute force login attack, [more detail from OWASP. This endpoint will read device cookie from cookie auth-trust-id. If device cookie not found, it will generate a new one and set it into cookie when successfully authenticate.

Action code: 10801

func (*Client) UserAuthenticationV3Short added in v0.8.0

func (a *Client) UserAuthenticationV3Short(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)

UserAuthenticationV3Short authentication api 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.

## Device Cookie Validation

Device Cookie is used to protect the user account from brute force login attack, [more detail from OWASP. This endpoint will read device cookie from cookie auth-trust-id. If device cookie not found, it will generate a new one and set it into cookie when successfully authenticate.

Action code: 10801

func (*Client) ValidateOneTimeLinkingCodeV3 deprecated added in v0.34.0

func (a *Client) ValidateOneTimeLinkingCodeV3(params *ValidateOneTimeLinkingCodeV3Params) (*ValidateOneTimeLinkingCodeV3OK, error)

Deprecated: 2022-08-10 - Use ValidateOneTimeLinkingCodeV3Short instead.

ValidateOneTimeLinkingCodeV3 validate one time linking code

This endpoint is being used to validate one time link code.

func (*Client) ValidateOneTimeLinkingCodeV3Short added in v0.34.0

func (a *Client) ValidateOneTimeLinkingCodeV3Short(params *ValidateOneTimeLinkingCodeV3Params) (*ValidateOneTimeLinkingCodeV3OK, error)

ValidateOneTimeLinkingCodeV3Short validate one time linking code

This endpoint is being used to validate one time link code.

type ClientService

type ClientService interface {
	UserAuthenticationV3(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)
	UserAuthenticationV3Short(params *UserAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*UserAuthenticationV3Found, error)
	AuthenticationWithPlatformLinkV3(params *AuthenticationWithPlatformLinkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthenticationWithPlatformLinkV3OK, *AuthenticationWithPlatformLinkV3BadRequest, *AuthenticationWithPlatformLinkV3Unauthorized, *AuthenticationWithPlatformLinkV3Conflict, error)
	AuthenticationWithPlatformLinkV3Short(params *AuthenticationWithPlatformLinkV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthenticationWithPlatformLinkV3OK, error)
	GenerateTokenByNewHeadlessAccountV3(params *GenerateTokenByNewHeadlessAccountV3Params, authInfo runtime.ClientAuthInfoWriter) (*GenerateTokenByNewHeadlessAccountV3OK, *GenerateTokenByNewHeadlessAccountV3BadRequest, *GenerateTokenByNewHeadlessAccountV3Unauthorized, *GenerateTokenByNewHeadlessAccountV3NotFound, error)
	GenerateTokenByNewHeadlessAccountV3Short(params *GenerateTokenByNewHeadlessAccountV3Params, authInfo runtime.ClientAuthInfoWriter) (*GenerateTokenByNewHeadlessAccountV3OK, error)
	RequestOneTimeLinkingCodeV3(params *RequestOneTimeLinkingCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestOneTimeLinkingCodeV3OK, error)
	RequestOneTimeLinkingCodeV3Short(params *RequestOneTimeLinkingCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestOneTimeLinkingCodeV3OK, error)
	ValidateOneTimeLinkingCodeV3(params *ValidateOneTimeLinkingCodeV3Params) (*ValidateOneTimeLinkingCodeV3OK, error)
	ValidateOneTimeLinkingCodeV3Short(params *ValidateOneTimeLinkingCodeV3Params) (*ValidateOneTimeLinkingCodeV3OK, error)
	RequestTokenByOneTimeLinkCodeResponseV3(params *RequestTokenByOneTimeLinkCodeResponseV3Params) (*RequestTokenByOneTimeLinkCodeResponseV3OK, error)
	RequestTokenByOneTimeLinkCodeResponseV3Short(params *RequestTokenByOneTimeLinkCodeResponseV3Params) (*RequestTokenByOneTimeLinkCodeResponseV3OK, error)
	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)
	RequestGameTokenCodeResponseV3(params *RequestGameTokenCodeResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenCodeResponseV3OK, error)
	RequestGameTokenCodeResponseV3Short(params *RequestGameTokenCodeResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenCodeResponseV3OK, error)
	PlatformAuthenticationV3(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
	PlatformAuthenticationV3Short(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
	RequestGameTokenResponseV3(params *RequestGameTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenResponseV3OK, error)
	RequestGameTokenResponseV3Short(params *RequestGameTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestGameTokenResponseV3OK, 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 GenerateTokenByNewHeadlessAccountV3BadRequest added in v0.37.0

type GenerateTokenByNewHeadlessAccountV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

GenerateTokenByNewHeadlessAccountV3BadRequest handles this case with default header values.

Invalid platform linking token or clientID not match.

func NewGenerateTokenByNewHeadlessAccountV3BadRequest added in v0.37.0

func NewGenerateTokenByNewHeadlessAccountV3BadRequest() *GenerateTokenByNewHeadlessAccountV3BadRequest

NewGenerateTokenByNewHeadlessAccountV3BadRequest creates a GenerateTokenByNewHeadlessAccountV3BadRequest with default headers values

func (*GenerateTokenByNewHeadlessAccountV3BadRequest) Error added in v0.37.0

func (*GenerateTokenByNewHeadlessAccountV3BadRequest) GetPayload added in v0.37.0

func (*GenerateTokenByNewHeadlessAccountV3BadRequest) ToJSONString added in v0.37.0

type GenerateTokenByNewHeadlessAccountV3NotFound added in v0.37.0

type GenerateTokenByNewHeadlessAccountV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

GenerateTokenByNewHeadlessAccountV3NotFound handles this case with default header values.

Platform linking token not found.

func NewGenerateTokenByNewHeadlessAccountV3NotFound added in v0.37.0

func NewGenerateTokenByNewHeadlessAccountV3NotFound() *GenerateTokenByNewHeadlessAccountV3NotFound

NewGenerateTokenByNewHeadlessAccountV3NotFound creates a GenerateTokenByNewHeadlessAccountV3NotFound with default headers values

func (*GenerateTokenByNewHeadlessAccountV3NotFound) Error added in v0.37.0

func (*GenerateTokenByNewHeadlessAccountV3NotFound) GetPayload added in v0.37.0

func (*GenerateTokenByNewHeadlessAccountV3NotFound) ToJSONString added in v0.37.0

type GenerateTokenByNewHeadlessAccountV3OK added in v0.20.0

type GenerateTokenByNewHeadlessAccountV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

GenerateTokenByNewHeadlessAccountV3OK handles this case with default header values.

Succeed to create headless account and response token info.

func NewGenerateTokenByNewHeadlessAccountV3OK added in v0.20.0

func NewGenerateTokenByNewHeadlessAccountV3OK() *GenerateTokenByNewHeadlessAccountV3OK

NewGenerateTokenByNewHeadlessAccountV3OK creates a GenerateTokenByNewHeadlessAccountV3OK with default headers values

func (*GenerateTokenByNewHeadlessAccountV3OK) Error added in v0.20.0

func (*GenerateTokenByNewHeadlessAccountV3OK) GetPayload added in v0.20.0

func (*GenerateTokenByNewHeadlessAccountV3OK) ToJSONString added in v0.25.0

type GenerateTokenByNewHeadlessAccountV3Params added in v0.20.0

type GenerateTokenByNewHeadlessAccountV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AdditionalData
	  Additional info, it will be passed to login success event.

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

	*/
	ExtendExp *bool
	/*LinkingToken
	  Platform linking Token

	*/
	LinkingToken string

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

GenerateTokenByNewHeadlessAccountV3Params contains all the parameters to send to the API endpoint for the generate token by new headless account v3 operation typically these are written to a http.Request

func NewGenerateTokenByNewHeadlessAccountV3Params added in v0.20.0

func NewGenerateTokenByNewHeadlessAccountV3Params() *GenerateTokenByNewHeadlessAccountV3Params

NewGenerateTokenByNewHeadlessAccountV3Params creates a new GenerateTokenByNewHeadlessAccountV3Params object with the default values initialized.

func NewGenerateTokenByNewHeadlessAccountV3ParamsWithContext added in v0.20.0

func NewGenerateTokenByNewHeadlessAccountV3ParamsWithContext(ctx context.Context) *GenerateTokenByNewHeadlessAccountV3Params

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

func NewGenerateTokenByNewHeadlessAccountV3ParamsWithHTTPClient added in v0.20.0

func NewGenerateTokenByNewHeadlessAccountV3ParamsWithHTTPClient(client *http.Client) *GenerateTokenByNewHeadlessAccountV3Params

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

func NewGenerateTokenByNewHeadlessAccountV3ParamsWithTimeout added in v0.20.0

func NewGenerateTokenByNewHeadlessAccountV3ParamsWithTimeout(timeout time.Duration) *GenerateTokenByNewHeadlessAccountV3Params

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

func (*GenerateTokenByNewHeadlessAccountV3Params) SetAdditionalData added in v0.48.0

func (o *GenerateTokenByNewHeadlessAccountV3Params) SetAdditionalData(additionalData *string)

SetAdditionalData adds the additionalData to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) SetAuthInfoWriter added in v0.20.0

func (o *GenerateTokenByNewHeadlessAccountV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) SetContext added in v0.20.0

SetContext adds the context to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) SetExtendExp added in v0.20.0

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

SetExtendExp adds the extendExp to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) SetHTTPClient added in v0.20.0

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

SetHTTPClient adds the HTTPClient to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) SetHTTPClientTransport added in v0.20.0

func (o *GenerateTokenByNewHeadlessAccountV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) SetLinkingToken added in v0.20.0

func (o *GenerateTokenByNewHeadlessAccountV3Params) SetLinkingToken(linkingToken string)

SetLinkingToken adds the linkingToken to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) SetTimeout added in v0.20.0

SetTimeout adds the timeout to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) WithAdditionalData added in v0.48.0

WithAdditionalData adds the additionalData to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) WithContext added in v0.20.0

WithContext adds the context to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) WithExtendExp added in v0.20.0

WithExtendExp adds the extendExp to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) WithHTTPClient added in v0.20.0

WithHTTPClient adds the HTTPClient to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) WithLinkingToken added in v0.20.0

WithLinkingToken adds the linkingToken to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) WithTimeout added in v0.20.0

WithTimeout adds the timeout to the generate token by new headless account v3 params

func (*GenerateTokenByNewHeadlessAccountV3Params) WriteToRequest added in v0.20.0

WriteToRequest writes these params to a swagger request

type GenerateTokenByNewHeadlessAccountV3Reader added in v0.20.0

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

GenerateTokenByNewHeadlessAccountV3Reader is a Reader for the GenerateTokenByNewHeadlessAccountV3 structure.

func (*GenerateTokenByNewHeadlessAccountV3Reader) ReadResponse added in v0.20.0

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

ReadResponse reads a server response into the received o.

type GenerateTokenByNewHeadlessAccountV3Unauthorized added in v0.37.0

type GenerateTokenByNewHeadlessAccountV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GenerateTokenByNewHeadlessAccountV3Unauthorized handles this case with default header values.

Invalid Basic header.

func NewGenerateTokenByNewHeadlessAccountV3Unauthorized added in v0.37.0

func NewGenerateTokenByNewHeadlessAccountV3Unauthorized() *GenerateTokenByNewHeadlessAccountV3Unauthorized

NewGenerateTokenByNewHeadlessAccountV3Unauthorized creates a GenerateTokenByNewHeadlessAccountV3Unauthorized with default headers values

func (*GenerateTokenByNewHeadlessAccountV3Unauthorized) Error added in v0.37.0

func (*GenerateTokenByNewHeadlessAccountV3Unauthorized) GetPayload added in v0.37.0

func (*GenerateTokenByNewHeadlessAccountV3Unauthorized) ToJSONString added in v0.37.0

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 (*GetCountryLocationV3OK) ToJSONString added in v0.25.0

func (o *GetCountryLocationV3OK) ToJSONString() string

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

WithContext adds the context to the get country location v3 params

func (*GetCountryLocationV3Params) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the get country location v3 params

func (*GetCountryLocationV3Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get country location v3 params

func (*GetCountryLocationV3Params) WriteToRequest added in v0.2.0

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 {
	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

type PlatformAuthenticationV3Params added in v0.2.0

type PlatformAuthenticationV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*PlatformID
	  Platform ID

	*/
	PlatformID string
	/*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
	/*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(errorVar *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

WithCode adds the code to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithContext added in v0.2.0

WithContext adds the context to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithError added in v0.2.0

WithError adds the errorVar to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithHTTPClient added in v0.2.0

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

WithOpenidMode adds the openidMode to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidNs added in v0.2.0

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

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

WithPlatformID adds the platformID to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithState added in v0.2.0

WithState adds the state to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WriteToRequest added in v0.2.0

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 RequestGameTokenCodeResponseV3OK added in v0.27.0

type RequestGameTokenCodeResponseV3OK struct {
	Payload *iamclientmodels.OauthmodelGameTokenCodeResponse
}

RequestGameTokenCodeResponseV3OK handles this case with default header values.

Succeed to generate token.

func NewRequestGameTokenCodeResponseV3OK added in v0.27.0

func NewRequestGameTokenCodeResponseV3OK() *RequestGameTokenCodeResponseV3OK

NewRequestGameTokenCodeResponseV3OK creates a RequestGameTokenCodeResponseV3OK with default headers values

func (*RequestGameTokenCodeResponseV3OK) Error added in v0.27.0

func (*RequestGameTokenCodeResponseV3OK) GetPayload added in v0.27.0

func (*RequestGameTokenCodeResponseV3OK) ToJSONString added in v0.27.0

func (o *RequestGameTokenCodeResponseV3OK) ToJSONString() string

type RequestGameTokenCodeResponseV3Params added in v0.27.0

type RequestGameTokenCodeResponseV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ClientID
	  Client ID for target namespace

	*/
	ClientID string
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string

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

RequestGameTokenCodeResponseV3Params contains all the parameters to send to the API endpoint for the request game token code response v3 operation typically these are written to a http.Request

func NewRequestGameTokenCodeResponseV3Params added in v0.27.0

func NewRequestGameTokenCodeResponseV3Params() *RequestGameTokenCodeResponseV3Params

NewRequestGameTokenCodeResponseV3Params creates a new RequestGameTokenCodeResponseV3Params object with the default values initialized.

func NewRequestGameTokenCodeResponseV3ParamsWithContext added in v0.27.0

func NewRequestGameTokenCodeResponseV3ParamsWithContext(ctx context.Context) *RequestGameTokenCodeResponseV3Params

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

func NewRequestGameTokenCodeResponseV3ParamsWithHTTPClient added in v0.27.0

func NewRequestGameTokenCodeResponseV3ParamsWithHTTPClient(client *http.Client) *RequestGameTokenCodeResponseV3Params

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

func NewRequestGameTokenCodeResponseV3ParamsWithTimeout added in v0.27.0

func NewRequestGameTokenCodeResponseV3ParamsWithTimeout(timeout time.Duration) *RequestGameTokenCodeResponseV3Params

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

func (*RequestGameTokenCodeResponseV3Params) SetAuthInfoWriter added in v0.27.0

func (o *RequestGameTokenCodeResponseV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) SetClientID added in v0.27.0

func (o *RequestGameTokenCodeResponseV3Params) SetClientID(clientID string)

SetClientID adds the clientId to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) SetContext added in v0.27.0

SetContext adds the context to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) SetHTTPClient added in v0.27.0

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

SetHTTPClient adds the HTTPClient to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) SetHTTPClientTransport added in v0.27.0

func (o *RequestGameTokenCodeResponseV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) SetNamespace added in v0.27.0

func (o *RequestGameTokenCodeResponseV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) SetTimeout added in v0.27.0

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

SetTimeout adds the timeout to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) WithClientID added in v0.27.0

WithClientID adds the clientID to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) WithContext added in v0.27.0

WithContext adds the context to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) WithHTTPClient added in v0.27.0

WithHTTPClient adds the HTTPClient to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) WithNamespace added in v0.27.0

WithNamespace adds the namespace to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) WithTimeout added in v0.27.0

WithTimeout adds the timeout to the request game token code response v3 params

func (*RequestGameTokenCodeResponseV3Params) WriteToRequest added in v0.27.0

WriteToRequest writes these params to a swagger request

type RequestGameTokenCodeResponseV3Reader added in v0.27.0

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

RequestGameTokenCodeResponseV3Reader is a Reader for the RequestGameTokenCodeResponseV3 structure.

func (*RequestGameTokenCodeResponseV3Reader) ReadResponse added in v0.27.0

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

ReadResponse reads a server response into the received o.

type RequestGameTokenResponseV3OK added in v0.27.0

type RequestGameTokenResponseV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

RequestGameTokenResponseV3OK handles this case with default header values.

Succeed to generate token.

func NewRequestGameTokenResponseV3OK added in v0.27.0

func NewRequestGameTokenResponseV3OK() *RequestGameTokenResponseV3OK

NewRequestGameTokenResponseV3OK creates a RequestGameTokenResponseV3OK with default headers values

func (*RequestGameTokenResponseV3OK) Error added in v0.27.0

func (*RequestGameTokenResponseV3OK) GetPayload added in v0.27.0

func (*RequestGameTokenResponseV3OK) ToJSONString added in v0.27.0

func (o *RequestGameTokenResponseV3OK) ToJSONString() string

type RequestGameTokenResponseV3Params added in v0.27.0

type RequestGameTokenResponseV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AdditionalData
	  Additional info, it will be passed to login success event.

	*/
	AdditionalData *string
	/*Code
	  code from request game token

	*/
	Code string

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

RequestGameTokenResponseV3Params contains all the parameters to send to the API endpoint for the request game token response v3 operation typically these are written to a http.Request

func NewRequestGameTokenResponseV3Params added in v0.27.0

func NewRequestGameTokenResponseV3Params() *RequestGameTokenResponseV3Params

NewRequestGameTokenResponseV3Params creates a new RequestGameTokenResponseV3Params object with the default values initialized.

func NewRequestGameTokenResponseV3ParamsWithContext added in v0.27.0

func NewRequestGameTokenResponseV3ParamsWithContext(ctx context.Context) *RequestGameTokenResponseV3Params

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

func NewRequestGameTokenResponseV3ParamsWithHTTPClient added in v0.27.0

func NewRequestGameTokenResponseV3ParamsWithHTTPClient(client *http.Client) *RequestGameTokenResponseV3Params

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

func NewRequestGameTokenResponseV3ParamsWithTimeout added in v0.27.0

func NewRequestGameTokenResponseV3ParamsWithTimeout(timeout time.Duration) *RequestGameTokenResponseV3Params

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

func (*RequestGameTokenResponseV3Params) SetAdditionalData added in v0.48.0

func (o *RequestGameTokenResponseV3Params) SetAdditionalData(additionalData *string)

SetAdditionalData adds the additionalData to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) SetAuthInfoWriter added in v0.27.0

func (o *RequestGameTokenResponseV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) SetCode added in v0.27.0

func (o *RequestGameTokenResponseV3Params) SetCode(code string)

SetCode adds the code to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) SetContext added in v0.27.0

SetContext adds the context to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) SetHTTPClient added in v0.27.0

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

SetHTTPClient adds the HTTPClient to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) SetHTTPClientTransport added in v0.27.0

func (o *RequestGameTokenResponseV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) SetTimeout added in v0.27.0

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

SetTimeout adds the timeout to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) WithAdditionalData added in v0.48.0

func (o *RequestGameTokenResponseV3Params) WithAdditionalData(additionalData *string) *RequestGameTokenResponseV3Params

WithAdditionalData adds the additionalData to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) WithCode added in v0.27.0

WithCode adds the code to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) WithContext added in v0.27.0

WithContext adds the context to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) WithHTTPClient added in v0.27.0

WithHTTPClient adds the HTTPClient to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) WithTimeout added in v0.27.0

WithTimeout adds the timeout to the request game token response v3 params

func (*RequestGameTokenResponseV3Params) WriteToRequest added in v0.27.0

WriteToRequest writes these params to a swagger request

type RequestGameTokenResponseV3Reader added in v0.27.0

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

RequestGameTokenResponseV3Reader is a Reader for the RequestGameTokenResponseV3 structure.

func (*RequestGameTokenResponseV3Reader) ReadResponse added in v0.27.0

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

ReadResponse reads a server response into the received o.

type RequestOneTimeLinkingCodeV3OK added in v0.34.0

type RequestOneTimeLinkingCodeV3OK struct {
	Payload *iamclientmodels.OauthmodelOneTimeLinkingCodeResponse
}

RequestOneTimeLinkingCodeV3OK handles this case with default header values.

Succeed to one time code.

func NewRequestOneTimeLinkingCodeV3OK added in v0.34.0

func NewRequestOneTimeLinkingCodeV3OK() *RequestOneTimeLinkingCodeV3OK

NewRequestOneTimeLinkingCodeV3OK creates a RequestOneTimeLinkingCodeV3OK with default headers values

func (*RequestOneTimeLinkingCodeV3OK) Error added in v0.34.0

func (*RequestOneTimeLinkingCodeV3OK) GetPayload added in v0.34.0

func (*RequestOneTimeLinkingCodeV3OK) ToJSONString added in v0.34.0

func (o *RequestOneTimeLinkingCodeV3OK) ToJSONString() string

type RequestOneTimeLinkingCodeV3Params added in v0.34.0

type RequestOneTimeLinkingCodeV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*PlatformID
	  Target platform ID for linking

	*/
	PlatformID string

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

RequestOneTimeLinkingCodeV3Params contains all the parameters to send to the API endpoint for the request one time linking code v3 operation typically these are written to a http.Request

func NewRequestOneTimeLinkingCodeV3Params added in v0.34.0

func NewRequestOneTimeLinkingCodeV3Params() *RequestOneTimeLinkingCodeV3Params

NewRequestOneTimeLinkingCodeV3Params creates a new RequestOneTimeLinkingCodeV3Params object with the default values initialized.

func NewRequestOneTimeLinkingCodeV3ParamsWithContext added in v0.34.0

func NewRequestOneTimeLinkingCodeV3ParamsWithContext(ctx context.Context) *RequestOneTimeLinkingCodeV3Params

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

func NewRequestOneTimeLinkingCodeV3ParamsWithHTTPClient added in v0.34.0

func NewRequestOneTimeLinkingCodeV3ParamsWithHTTPClient(client *http.Client) *RequestOneTimeLinkingCodeV3Params

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

func NewRequestOneTimeLinkingCodeV3ParamsWithTimeout added in v0.34.0

func NewRequestOneTimeLinkingCodeV3ParamsWithTimeout(timeout time.Duration) *RequestOneTimeLinkingCodeV3Params

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

func (*RequestOneTimeLinkingCodeV3Params) SetAuthInfoWriter added in v0.34.0

func (o *RequestOneTimeLinkingCodeV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) SetContext added in v0.34.0

SetContext adds the context to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) SetHTTPClient added in v0.34.0

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

SetHTTPClient adds the HTTPClient to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) SetHTTPClientTransport added in v0.34.0

func (o *RequestOneTimeLinkingCodeV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) SetPlatformID added in v0.34.0

func (o *RequestOneTimeLinkingCodeV3Params) SetPlatformID(platformID string)

SetPlatformID adds the platformId to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) SetTimeout added in v0.34.0

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

SetTimeout adds the timeout to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) WithContext added in v0.34.0

WithContext adds the context to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) WithHTTPClient added in v0.34.0

WithHTTPClient adds the HTTPClient to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) WithPlatformID added in v0.34.0

WithPlatformID adds the platformID to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) WithTimeout added in v0.34.0

WithTimeout adds the timeout to the request one time linking code v3 params

func (*RequestOneTimeLinkingCodeV3Params) WriteToRequest added in v0.34.0

WriteToRequest writes these params to a swagger request

type RequestOneTimeLinkingCodeV3Reader added in v0.34.0

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

RequestOneTimeLinkingCodeV3Reader is a Reader for the RequestOneTimeLinkingCodeV3 structure.

func (*RequestOneTimeLinkingCodeV3Reader) ReadResponse added in v0.34.0

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

ReadResponse reads a server response into the received o.

type RequestTokenByOneTimeLinkCodeResponseV3OK added in v0.34.0

type RequestTokenByOneTimeLinkCodeResponseV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

RequestTokenByOneTimeLinkCodeResponseV3OK handles this case with default header values.

Succeed to generate user token by one time link code.

func NewRequestTokenByOneTimeLinkCodeResponseV3OK added in v0.34.0

func NewRequestTokenByOneTimeLinkCodeResponseV3OK() *RequestTokenByOneTimeLinkCodeResponseV3OK

NewRequestTokenByOneTimeLinkCodeResponseV3OK creates a RequestTokenByOneTimeLinkCodeResponseV3OK with default headers values

func (*RequestTokenByOneTimeLinkCodeResponseV3OK) Error added in v0.34.0

func (*RequestTokenByOneTimeLinkCodeResponseV3OK) GetPayload added in v0.34.0

func (*RequestTokenByOneTimeLinkCodeResponseV3OK) ToJSONString added in v0.34.0

type RequestTokenByOneTimeLinkCodeResponseV3Params added in v0.34.0

type RequestTokenByOneTimeLinkCodeResponseV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AdditionalData
	  Additional info, it will be passed to login success event.

	*/
	AdditionalData *string
	/*IsTransient
	  will produce transient token

	*/
	IsTransient *bool
	/*ClientID
	  publisher clientID

	*/
	ClientID string
	/*OneTimeLinkCode
	  one time linking code

	*/
	OneTimeLinkCode string

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

RequestTokenByOneTimeLinkCodeResponseV3Params contains all the parameters to send to the API endpoint for the request token by one time link code response v3 operation typically these are written to a http.Request

func NewRequestTokenByOneTimeLinkCodeResponseV3Params added in v0.34.0

func NewRequestTokenByOneTimeLinkCodeResponseV3Params() *RequestTokenByOneTimeLinkCodeResponseV3Params

NewRequestTokenByOneTimeLinkCodeResponseV3Params creates a new RequestTokenByOneTimeLinkCodeResponseV3Params object with the default values initialized.

func NewRequestTokenByOneTimeLinkCodeResponseV3ParamsWithContext added in v0.34.0

func NewRequestTokenByOneTimeLinkCodeResponseV3ParamsWithContext(ctx context.Context) *RequestTokenByOneTimeLinkCodeResponseV3Params

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

func NewRequestTokenByOneTimeLinkCodeResponseV3ParamsWithHTTPClient added in v0.34.0

func NewRequestTokenByOneTimeLinkCodeResponseV3ParamsWithHTTPClient(client *http.Client) *RequestTokenByOneTimeLinkCodeResponseV3Params

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

func NewRequestTokenByOneTimeLinkCodeResponseV3ParamsWithTimeout added in v0.34.0

func NewRequestTokenByOneTimeLinkCodeResponseV3ParamsWithTimeout(timeout time.Duration) *RequestTokenByOneTimeLinkCodeResponseV3Params

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetAdditionalData added in v0.48.0

func (o *RequestTokenByOneTimeLinkCodeResponseV3Params) SetAdditionalData(additionalData *string)

SetAdditionalData adds the additionalData to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetAuthInfoWriter added in v0.34.0

func (o *RequestTokenByOneTimeLinkCodeResponseV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetClientID added in v0.34.0

func (o *RequestTokenByOneTimeLinkCodeResponseV3Params) SetClientID(clientID string)

SetClientID adds the clientId to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetContext added in v0.34.0

SetContext adds the context to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetHTTPClient added in v0.34.0

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

SetHTTPClient adds the HTTPClient to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetHTTPClientTransport added in v0.34.0

func (o *RequestTokenByOneTimeLinkCodeResponseV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetIsTransient added in v0.44.0

func (o *RequestTokenByOneTimeLinkCodeResponseV3Params) SetIsTransient(isTransient *bool)

SetIsTransient adds the isTransient to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetOneTimeLinkCode added in v0.34.0

func (o *RequestTokenByOneTimeLinkCodeResponseV3Params) SetOneTimeLinkCode(oneTimeLinkCode string)

SetOneTimeLinkCode adds the oneTimeLinkCode to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetTimeout added in v0.34.0

SetTimeout adds the timeout to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithAdditionalData added in v0.48.0

WithAdditionalData adds the additionalData to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithClientID added in v0.34.0

WithClientID adds the clientID to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithContext added in v0.34.0

WithContext adds the context to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithHTTPClient added in v0.34.0

WithHTTPClient adds the HTTPClient to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithIsTransient added in v0.44.0

WithIsTransient adds the isTransient to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithOneTimeLinkCode added in v0.34.0

WithOneTimeLinkCode adds the oneTimeLinkCode to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithTimeout added in v0.34.0

WithTimeout adds the timeout to the request token by one time link code response v3 params

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WriteToRequest added in v0.34.0

WriteToRequest writes these params to a swagger request

type RequestTokenByOneTimeLinkCodeResponseV3Reader added in v0.34.0

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

RequestTokenByOneTimeLinkCodeResponseV3Reader is a Reader for the RequestTokenByOneTimeLinkCodeResponseV3 structure.

func (*RequestTokenByOneTimeLinkCodeResponseV3Reader) ReadResponse added in v0.34.0

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

ReadResponse reads a server response into the received o.

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ClientID
	  Client ID

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

	*/
	ExtendExp *bool
	/*RedirectURI
	  Redirect URI

	*/
	RedirectURI *string
	/*Password
	  Account password

	*/
	Password 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

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.

type ValidateOneTimeLinkingCodeV3OK added in v0.34.0

type ValidateOneTimeLinkingCodeV3OK struct {
	Payload *iamclientmodels.OauthmodelOneTimeLinkingCodeValidationResponse
}

ValidateOneTimeLinkingCodeV3OK handles this case with default header values.

Succeed to validate one time code.

func NewValidateOneTimeLinkingCodeV3OK added in v0.34.0

func NewValidateOneTimeLinkingCodeV3OK() *ValidateOneTimeLinkingCodeV3OK

NewValidateOneTimeLinkingCodeV3OK creates a ValidateOneTimeLinkingCodeV3OK with default headers values

func (*ValidateOneTimeLinkingCodeV3OK) Error added in v0.34.0

func (*ValidateOneTimeLinkingCodeV3OK) GetPayload added in v0.34.0

func (*ValidateOneTimeLinkingCodeV3OK) ToJSONString added in v0.34.0

func (o *ValidateOneTimeLinkingCodeV3OK) ToJSONString() string

type ValidateOneTimeLinkingCodeV3Params added in v0.34.0

type ValidateOneTimeLinkingCodeV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*OneTimeLinkCode
	  one time linking code

	*/
	OneTimeLinkCode string

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

ValidateOneTimeLinkingCodeV3Params contains all the parameters to send to the API endpoint for the validate one time linking code v3 operation typically these are written to a http.Request

func NewValidateOneTimeLinkingCodeV3Params added in v0.34.0

func NewValidateOneTimeLinkingCodeV3Params() *ValidateOneTimeLinkingCodeV3Params

NewValidateOneTimeLinkingCodeV3Params creates a new ValidateOneTimeLinkingCodeV3Params object with the default values initialized.

func NewValidateOneTimeLinkingCodeV3ParamsWithContext added in v0.34.0

func NewValidateOneTimeLinkingCodeV3ParamsWithContext(ctx context.Context) *ValidateOneTimeLinkingCodeV3Params

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

func NewValidateOneTimeLinkingCodeV3ParamsWithHTTPClient added in v0.34.0

func NewValidateOneTimeLinkingCodeV3ParamsWithHTTPClient(client *http.Client) *ValidateOneTimeLinkingCodeV3Params

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

func NewValidateOneTimeLinkingCodeV3ParamsWithTimeout added in v0.34.0

func NewValidateOneTimeLinkingCodeV3ParamsWithTimeout(timeout time.Duration) *ValidateOneTimeLinkingCodeV3Params

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

func (*ValidateOneTimeLinkingCodeV3Params) SetAuthInfoWriter added in v0.34.0

func (o *ValidateOneTimeLinkingCodeV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) SetContext added in v0.34.0

SetContext adds the context to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) SetHTTPClient added in v0.34.0

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

SetHTTPClient adds the HTTPClient to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) SetHTTPClientTransport added in v0.34.0

func (o *ValidateOneTimeLinkingCodeV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) SetOneTimeLinkCode added in v0.34.0

func (o *ValidateOneTimeLinkingCodeV3Params) SetOneTimeLinkCode(oneTimeLinkCode string)

SetOneTimeLinkCode adds the oneTimeLinkCode to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) SetTimeout added in v0.34.0

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

SetTimeout adds the timeout to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) WithContext added in v0.34.0

WithContext adds the context to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) WithHTTPClient added in v0.34.0

WithHTTPClient adds the HTTPClient to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) WithOneTimeLinkCode added in v0.34.0

func (o *ValidateOneTimeLinkingCodeV3Params) WithOneTimeLinkCode(oneTimeLinkCode string) *ValidateOneTimeLinkingCodeV3Params

WithOneTimeLinkCode adds the oneTimeLinkCode to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) WithTimeout added in v0.34.0

WithTimeout adds the timeout to the validate one time linking code v3 params

func (*ValidateOneTimeLinkingCodeV3Params) WriteToRequest added in v0.34.0

WriteToRequest writes these params to a swagger request

type ValidateOneTimeLinkingCodeV3Reader added in v0.34.0

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

ValidateOneTimeLinkingCodeV3Reader is a Reader for the ValidateOneTimeLinkingCodeV3 structure.

func (*ValidateOneTimeLinkingCodeV3Reader) ReadResponse added in v0.34.0

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