o_auth2_0_extension

package
v0.1.0-alpha.14 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RequestTokenExchangeCodeV3S256Constant  = "S256"
	RequestTokenExchangeCodeV3PlainConstant = "plain"
)

Get the enum in RequestTokenExchangeCodeV3Params

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationWithPlatformLinkV3BadRequest

type AuthenticationWithPlatformLinkV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AuthenticationWithPlatformLinkV3BadRequest handles this case with default header values.

Invalid username or password.

func NewAuthenticationWithPlatformLinkV3BadRequest

func NewAuthenticationWithPlatformLinkV3BadRequest() *AuthenticationWithPlatformLinkV3BadRequest

NewAuthenticationWithPlatformLinkV3BadRequest creates a AuthenticationWithPlatformLinkV3BadRequest with default headers values

func (*AuthenticationWithPlatformLinkV3BadRequest) Error

func (*AuthenticationWithPlatformLinkV3BadRequest) GetPayload

func (*AuthenticationWithPlatformLinkV3BadRequest) ToJSONString

type AuthenticationWithPlatformLinkV3Conflict

type AuthenticationWithPlatformLinkV3Conflict struct {
	Payload *iamclientmodels.RestErrorResponse
}

AuthenticationWithPlatformLinkV3Conflict handles this case with default header values.

User already link this platform's another account'.

func NewAuthenticationWithPlatformLinkV3Conflict

func NewAuthenticationWithPlatformLinkV3Conflict() *AuthenticationWithPlatformLinkV3Conflict

NewAuthenticationWithPlatformLinkV3Conflict creates a AuthenticationWithPlatformLinkV3Conflict with default headers values

func (*AuthenticationWithPlatformLinkV3Conflict) Error

func (*AuthenticationWithPlatformLinkV3Conflict) GetPayload

func (*AuthenticationWithPlatformLinkV3Conflict) ToJSONString

type AuthenticationWithPlatformLinkV3Forbidden

type AuthenticationWithPlatformLinkV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AuthenticationWithPlatformLinkV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10213</td><td>country is blocked</td></tr></table>

func NewAuthenticationWithPlatformLinkV3Forbidden

func NewAuthenticationWithPlatformLinkV3Forbidden() *AuthenticationWithPlatformLinkV3Forbidden

NewAuthenticationWithPlatformLinkV3Forbidden creates a AuthenticationWithPlatformLinkV3Forbidden with default headers values

func (*AuthenticationWithPlatformLinkV3Forbidden) Error

func (*AuthenticationWithPlatformLinkV3Forbidden) GetPayload

func (*AuthenticationWithPlatformLinkV3Forbidden) ToJSONString

type AuthenticationWithPlatformLinkV3OK

type AuthenticationWithPlatformLinkV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

AuthenticationWithPlatformLinkV3OK handles this case with default header values.

Succeed to authenticate and link platform account.

func NewAuthenticationWithPlatformLinkV3OK

func NewAuthenticationWithPlatformLinkV3OK() *AuthenticationWithPlatformLinkV3OK

NewAuthenticationWithPlatformLinkV3OK creates a AuthenticationWithPlatformLinkV3OK with default headers values

func (*AuthenticationWithPlatformLinkV3OK) Error

func (*AuthenticationWithPlatformLinkV3OK) GetPayload

func (*AuthenticationWithPlatformLinkV3OK) ToJSONString

func (o *AuthenticationWithPlatformLinkV3OK) ToJSONString() string

type AuthenticationWithPlatformLinkV3Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewAuthenticationWithPlatformLinkV3Params() *AuthenticationWithPlatformLinkV3Params

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

func NewAuthenticationWithPlatformLinkV3ParamsWithContext

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

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

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

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

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

func (*AuthenticationWithPlatformLinkV3Params) SetClientID

func (o *AuthenticationWithPlatformLinkV3Params) SetClientID(clientID string)

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

func (*AuthenticationWithPlatformLinkV3Params) SetContext

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

func (*AuthenticationWithPlatformLinkV3Params) SetExtendExp

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

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

func (*AuthenticationWithPlatformLinkV3Params) SetFlightId

func (o *AuthenticationWithPlatformLinkV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AuthenticationWithPlatformLinkV3Params) SetHTTPClient

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

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

func (*AuthenticationWithPlatformLinkV3Params) SetHTTPClientTransport

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

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

func (*AuthenticationWithPlatformLinkV3Params) SetLinkingToken

func (o *AuthenticationWithPlatformLinkV3Params) SetLinkingToken(linkingToken string)

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

func (*AuthenticationWithPlatformLinkV3Params) SetPassword

func (o *AuthenticationWithPlatformLinkV3Params) SetPassword(password string)

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

func (*AuthenticationWithPlatformLinkV3Params) SetTimeout

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

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

func (*AuthenticationWithPlatformLinkV3Params) SetUsername

func (o *AuthenticationWithPlatformLinkV3Params) SetUsername(username string)

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

func (*AuthenticationWithPlatformLinkV3Params) WithClientID

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

func (*AuthenticationWithPlatformLinkV3Params) WithContext

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

func (*AuthenticationWithPlatformLinkV3Params) WithExtendExp

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

func (*AuthenticationWithPlatformLinkV3Params) WithHTTPClient

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

func (*AuthenticationWithPlatformLinkV3Params) WithLinkingToken

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

func (*AuthenticationWithPlatformLinkV3Params) WithPassword

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

func (*AuthenticationWithPlatformLinkV3Params) WithTimeout

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

func (*AuthenticationWithPlatformLinkV3Params) WithUsername

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

func (*AuthenticationWithPlatformLinkV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AuthenticationWithPlatformLinkV3Reader

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

AuthenticationWithPlatformLinkV3Reader is a Reader for the AuthenticationWithPlatformLinkV3 structure.

func (*AuthenticationWithPlatformLinkV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuthenticationWithPlatformLinkV3Unauthorized

type AuthenticationWithPlatformLinkV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

AuthenticationWithPlatformLinkV3Unauthorized handles this case with default header values.

Need 2FA.

func NewAuthenticationWithPlatformLinkV3Unauthorized

func NewAuthenticationWithPlatformLinkV3Unauthorized() *AuthenticationWithPlatformLinkV3Unauthorized

NewAuthenticationWithPlatformLinkV3Unauthorized creates a AuthenticationWithPlatformLinkV3Unauthorized with default headers values

func (*AuthenticationWithPlatformLinkV3Unauthorized) Error

func (*AuthenticationWithPlatformLinkV3Unauthorized) GetPayload

func (*AuthenticationWithPlatformLinkV3Unauthorized) ToJSONString

type Client

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

Client for o auth2 0 extension API

func (*Client) AuthenticationWithPlatformLinkV3 deprecated

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](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies). 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

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](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies). 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

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

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

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

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

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

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

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

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) PlatformTokenRefreshV3 deprecated

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

PlatformTokenRefreshV3 platform token validation This endpoint will validate the third party platform token, for some platforms will also refresh the token stored in IAM, it will not generate any event or AB access/refresh token. This endpoint can be used by game client to refresh third party token if game client got platform token not found error, for example got 404 platform token not found from IAP/DLC.

## Platforms will refresh stored token: - **twitch**: The platform_token�s value is the authorization code returned by Twitch OAuth. - **epicgames**: The platform_token�s value is an access-token or authorization code obtained from Epicgames EOS Account Service. - **ps4**: The platform_token�s value is the authorization code returned by Sony OAuth. - **ps5**: The platform_token�s value is the authorization code returned by Sony OAuth. - **amazon**: The platform_token�s value is authorization code. - **awscognito**: The platform_token�s value is the aws cognito access token or id token (JWT). - **live**: The platform_token�s value is xbox XSTS token - **snapchat**: The platform_token�s value is the authorization code returned by Snapchat OAuth. - **for specific generic oauth (OIDC)**: The platform_token�s value should be the same type as created OIDC auth type whether it is auth code, idToken or bearerToken.

func (*Client) PlatformTokenRefreshV3Short

func (a *Client) PlatformTokenRefreshV3Short(params *PlatformTokenRefreshV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenRefreshV3OK, error)

PlatformTokenRefreshV3Short platform token validation This endpoint will validate the third party platform token, for some platforms will also refresh the token stored in IAM, it will not generate any event or AB access/refresh token. This endpoint can be used by game client to refresh third party token if game client got platform token not found error, for example got 404 platform token not found from IAP/DLC.

## Platforms will refresh stored token: - **twitch**: The platform_token�s value is the authorization code returned by Twitch OAuth. - **epicgames**: The platform_token�s value is an access-token or authorization code obtained from Epicgames EOS Account Service. - **ps4**: The platform_token�s value is the authorization code returned by Sony OAuth. - **ps5**: The platform_token�s value is the authorization code returned by Sony OAuth. - **amazon**: The platform_token�s value is authorization code. - **awscognito**: The platform_token�s value is the aws cognito access token or id token (JWT). - **live**: The platform_token�s value is xbox XSTS token - **snapchat**: The platform_token�s value is the authorization code returned by Snapchat OAuth. - **for specific generic oauth (OIDC)**: The platform_token�s value should be the same type as created OIDC auth type whether it is auth code, idToken or bearerToken.

func (*Client) RequestOneTimeLinkingCodeV3 deprecated

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

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. 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) RequestTargetTokenResponseV3 deprecated

func (a *Client) RequestTargetTokenResponseV3(params *RequestTargetTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTargetTokenResponseV3OK, error)

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

RequestTargetTokenResponseV3 generate target token by code This endpoint is being used to generate target token. It requires basic header with ClientID and Secret, it should match the ClientID when call `/iam/v3/namespace/{namespace}/token/request` The code should be generated from `/iam/v3/namespace/{namespace}/token/request`.

func (*Client) RequestTargetTokenResponseV3Short

func (a *Client) RequestTargetTokenResponseV3Short(params *RequestTargetTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTargetTokenResponseV3OK, error)

RequestTargetTokenResponseV3Short generate target token by code This endpoint is being used to generate target token. It requires basic header with ClientID and Secret, it should match the ClientID when call `/iam/v3/namespace/{namespace}/token/request` The code should be generated from `/iam/v3/namespace/{namespace}/token/request`.

func (*Client) RequestTokenByOneTimeLinkCodeResponseV3 deprecated

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

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

RequestTokenByOneTimeLinkCodeResponseV3 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) RequestTokenByOneTimeLinkCodeResponseV3Short

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) RequestTokenExchangeCodeV3 deprecated

func (a *Client) RequestTokenExchangeCodeV3(params *RequestTokenExchangeCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTokenExchangeCodeV3OK, error)

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

RequestTokenExchangeCodeV3 request code to get a new token This endpoint is being used to request the code to exchange a new token. The target new token's clientId should NOT be same with current using one. Path namespace should be target namespace. Client ID should match the target namespace.

The code in response can be consumed by `/iam/v3/token/exchange`

func (*Client) RequestTokenExchangeCodeV3Short

func (a *Client) RequestTokenExchangeCodeV3Short(params *RequestTokenExchangeCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTokenExchangeCodeV3OK, error)

RequestTokenExchangeCodeV3Short request code to get a new token This endpoint is being used to request the code to exchange a new token. The target new token's clientId should NOT be same with current using one. Path namespace should be target namespace. Client ID should match the target namespace.

The code in response can be consumed by `/iam/v3/token/exchange`

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](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies). 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

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](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies). 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

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

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, *AuthenticationWithPlatformLinkV3Forbidden, *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)
	RequestTokenExchangeCodeV3(params *RequestTokenExchangeCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTokenExchangeCodeV3OK, error)
	RequestTokenExchangeCodeV3Short(params *RequestTokenExchangeCodeV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTokenExchangeCodeV3OK, error)
	PlatformAuthenticationV3(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
	PlatformAuthenticationV3Short(params *PlatformAuthenticationV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformAuthenticationV3Found, error)
	PlatformTokenRefreshV3(params *PlatformTokenRefreshV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenRefreshV3OK, *PlatformTokenRefreshV3BadRequest, *PlatformTokenRefreshV3Unauthorized, *PlatformTokenRefreshV3Forbidden, *PlatformTokenRefreshV3ServiceUnavailable, error)
	PlatformTokenRefreshV3Short(params *PlatformTokenRefreshV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenRefreshV3OK, error)
	RequestTargetTokenResponseV3(params *RequestTargetTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTargetTokenResponseV3OK, error)
	RequestTargetTokenResponseV3Short(params *RequestTargetTokenResponseV3Params, authInfo runtime.ClientAuthInfoWriter) (*RequestTargetTokenResponseV3OK, 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

type GenerateTokenByNewHeadlessAccountV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

GenerateTokenByNewHeadlessAccountV3BadRequest handles this case with default header values.

Invalid platform linking token or clientID not match.

func NewGenerateTokenByNewHeadlessAccountV3BadRequest

func NewGenerateTokenByNewHeadlessAccountV3BadRequest() *GenerateTokenByNewHeadlessAccountV3BadRequest

NewGenerateTokenByNewHeadlessAccountV3BadRequest creates a GenerateTokenByNewHeadlessAccountV3BadRequest with default headers values

func (*GenerateTokenByNewHeadlessAccountV3BadRequest) Error

func (*GenerateTokenByNewHeadlessAccountV3BadRequest) GetPayload

func (*GenerateTokenByNewHeadlessAccountV3BadRequest) ToJSONString

type GenerateTokenByNewHeadlessAccountV3NotFound

type GenerateTokenByNewHeadlessAccountV3NotFound struct {
	Payload *iamclientmodels.RestErrorResponse
}

GenerateTokenByNewHeadlessAccountV3NotFound handles this case with default header values.

Platform linking token not found.

func NewGenerateTokenByNewHeadlessAccountV3NotFound

func NewGenerateTokenByNewHeadlessAccountV3NotFound() *GenerateTokenByNewHeadlessAccountV3NotFound

NewGenerateTokenByNewHeadlessAccountV3NotFound creates a GenerateTokenByNewHeadlessAccountV3NotFound with default headers values

func (*GenerateTokenByNewHeadlessAccountV3NotFound) Error

func (*GenerateTokenByNewHeadlessAccountV3NotFound) GetPayload

func (*GenerateTokenByNewHeadlessAccountV3NotFound) ToJSONString

type GenerateTokenByNewHeadlessAccountV3OK

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

func NewGenerateTokenByNewHeadlessAccountV3OK() *GenerateTokenByNewHeadlessAccountV3OK

NewGenerateTokenByNewHeadlessAccountV3OK creates a GenerateTokenByNewHeadlessAccountV3OK with default headers values

func (*GenerateTokenByNewHeadlessAccountV3OK) Error

func (*GenerateTokenByNewHeadlessAccountV3OK) GetPayload

func (*GenerateTokenByNewHeadlessAccountV3OK) ToJSONString

type GenerateTokenByNewHeadlessAccountV3Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewGenerateTokenByNewHeadlessAccountV3Params() *GenerateTokenByNewHeadlessAccountV3Params

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

func NewGenerateTokenByNewHeadlessAccountV3ParamsWithContext

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

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

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

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

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

func (*GenerateTokenByNewHeadlessAccountV3Params) SetAuthInfoWriter

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

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

func (*GenerateTokenByNewHeadlessAccountV3Params) SetContext

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

func (*GenerateTokenByNewHeadlessAccountV3Params) SetExtendExp

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

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

func (*GenerateTokenByNewHeadlessAccountV3Params) SetFlightId

func (o *GenerateTokenByNewHeadlessAccountV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GenerateTokenByNewHeadlessAccountV3Params) SetHTTPClient

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

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

func (*GenerateTokenByNewHeadlessAccountV3Params) SetHTTPClientTransport

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

func (o *GenerateTokenByNewHeadlessAccountV3Params) SetLinkingToken(linkingToken string)

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

func (*GenerateTokenByNewHeadlessAccountV3Params) SetTimeout

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

func (*GenerateTokenByNewHeadlessAccountV3Params) WithAdditionalData

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

func (*GenerateTokenByNewHeadlessAccountV3Params) WithContext

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

func (*GenerateTokenByNewHeadlessAccountV3Params) WithExtendExp

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

func (*GenerateTokenByNewHeadlessAccountV3Params) WithHTTPClient

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

func (*GenerateTokenByNewHeadlessAccountV3Params) WithLinkingToken

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

func (*GenerateTokenByNewHeadlessAccountV3Params) WithTimeout

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

func (*GenerateTokenByNewHeadlessAccountV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateTokenByNewHeadlessAccountV3Reader

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

GenerateTokenByNewHeadlessAccountV3Reader is a Reader for the GenerateTokenByNewHeadlessAccountV3 structure.

func (*GenerateTokenByNewHeadlessAccountV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GenerateTokenByNewHeadlessAccountV3Unauthorized

type GenerateTokenByNewHeadlessAccountV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GenerateTokenByNewHeadlessAccountV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10213</td><td>country is blocked</td></tr></table>

func NewGenerateTokenByNewHeadlessAccountV3Unauthorized

func NewGenerateTokenByNewHeadlessAccountV3Unauthorized() *GenerateTokenByNewHeadlessAccountV3Unauthorized

NewGenerateTokenByNewHeadlessAccountV3Unauthorized creates a GenerateTokenByNewHeadlessAccountV3Unauthorized with default headers values

func (*GenerateTokenByNewHeadlessAccountV3Unauthorized) Error

func (*GenerateTokenByNewHeadlessAccountV3Unauthorized) GetPayload

func (*GenerateTokenByNewHeadlessAccountV3Unauthorized) ToJSONString

type GetCountryLocationV3OK

type GetCountryLocationV3OK struct {
	Payload *iamclientmodels.OauthmodelCountryLocationResponse
}

GetCountryLocationV3OK handles this case with default header values.

Country Location info returned

func NewGetCountryLocationV3OK

func NewGetCountryLocationV3OK() *GetCountryLocationV3OK

NewGetCountryLocationV3OK creates a GetCountryLocationV3OK with default headers values

func (*GetCountryLocationV3OK) Error

func (o *GetCountryLocationV3OK) Error() string

func (*GetCountryLocationV3OK) GetPayload

func (*GetCountryLocationV3OK) ToJSONString

func (o *GetCountryLocationV3OK) ToJSONString() string

type GetCountryLocationV3Params

type GetCountryLocationV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewGetCountryLocationV3Params() *GetCountryLocationV3Params

NewGetCountryLocationV3Params creates a new GetCountryLocationV3Params object with the default values initialized.

func NewGetCountryLocationV3ParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the get country location v3 params

func (*GetCountryLocationV3Params) SetContext

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

SetContext adds the context to the get country location v3 params

func (*GetCountryLocationV3Params) SetFlightId

func (o *GetCountryLocationV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetCountryLocationV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get country location v3 params

func (*GetCountryLocationV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get country location v3 params

func (*GetCountryLocationV3Params) SetTimeout

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

SetTimeout adds the timeout to the get country location v3 params

func (*GetCountryLocationV3Params) WithContext

WithContext adds the context to the get country location v3 params

func (*GetCountryLocationV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get country location v3 params

func (*GetCountryLocationV3Params) WithTimeout

WithTimeout adds the timeout to the get country location v3 params

func (*GetCountryLocationV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCountryLocationV3Reader

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

GetCountryLocationV3Reader is a Reader for the GetCountryLocationV3 structure.

func (*GetCountryLocationV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LogoutNoContent

type LogoutNoContent struct {
}

LogoutNoContent handles this case with default header values.

Logout successfully

func NewLogoutNoContent

func NewLogoutNoContent() *LogoutNoContent

NewLogoutNoContent creates a LogoutNoContent with default headers values

func (*LogoutNoContent) Error

func (o *LogoutNoContent) Error() string

type LogoutParams

type LogoutParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewLogoutParams() *LogoutParams

NewLogoutParams creates a new LogoutParams object with the default values initialized.

func NewLogoutParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the logout params

func (*LogoutParams) SetContext

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

SetContext adds the context to the logout params

func (*LogoutParams) SetFlightId

func (o *LogoutParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*LogoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the logout params

func (*LogoutParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the logout params

func (*LogoutParams) SetTimeout

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

SetTimeout adds the timeout to the logout params

func (*LogoutParams) WithContext

func (o *LogoutParams) WithContext(ctx context.Context) *LogoutParams

WithContext adds the context to the logout params

func (*LogoutParams) WithHTTPClient

func (o *LogoutParams) WithHTTPClient(client *http.Client) *LogoutParams

WithHTTPClient adds the HTTPClient to the logout params

func (*LogoutParams) WithTimeout

func (o *LogoutParams) WithTimeout(timeout time.Duration) *LogoutParams

WithTimeout adds the timeout to the logout params

func (*LogoutParams) WriteToRequest

func (o *LogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LogoutReader

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

LogoutReader is a Reader for the Logout structure.

func (*LogoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PlatformAuthenticationV3Found

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

func NewPlatformAuthenticationV3Found() *PlatformAuthenticationV3Found

NewPlatformAuthenticationV3Found creates a PlatformAuthenticationV3Found with default headers values

func (*PlatformAuthenticationV3Found) Error

type PlatformAuthenticationV3Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewPlatformAuthenticationV3Params() *PlatformAuthenticationV3Params

NewPlatformAuthenticationV3Params creates a new PlatformAuthenticationV3Params object with the default values initialized.

func NewPlatformAuthenticationV3ParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetCode

func (o *PlatformAuthenticationV3Params) SetCode(code *string)

SetCode adds the code to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetContext

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

SetContext adds the context to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetError

func (o *PlatformAuthenticationV3Params) SetError(errorVar *string)

SetError adds the error to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetFlightId

func (o *PlatformAuthenticationV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PlatformAuthenticationV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidAssocHandle

func (o *PlatformAuthenticationV3Params) SetOpenidAssocHandle(openidAssocHandle *string)

SetOpenidAssocHandle adds the openidAssocHandle to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidClaimedID

func (o *PlatformAuthenticationV3Params) SetOpenidClaimedID(openidClaimedID *string)

SetOpenidClaimedID adds the openidClaimedId to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidIdentity

func (o *PlatformAuthenticationV3Params) SetOpenidIdentity(openidIdentity *string)

SetOpenidIdentity adds the openidIdentity to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidMode

func (o *PlatformAuthenticationV3Params) SetOpenidMode(openidMode *string)

SetOpenidMode adds the openidMode to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidNs

func (o *PlatformAuthenticationV3Params) SetOpenidNs(openidNs *string)

SetOpenidNs adds the openidNs to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidOpEndpoint

func (o *PlatformAuthenticationV3Params) SetOpenidOpEndpoint(openidOpEndpoint *string)

SetOpenidOpEndpoint adds the openidOpEndpoint to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidResponseNonce

func (o *PlatformAuthenticationV3Params) SetOpenidResponseNonce(openidResponseNonce *string)

SetOpenidResponseNonce adds the openidResponseNonce to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidReturnTo

func (o *PlatformAuthenticationV3Params) SetOpenidReturnTo(openidReturnTo *string)

SetOpenidReturnTo adds the openidReturnTo to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidSig

func (o *PlatformAuthenticationV3Params) SetOpenidSig(openidSig *string)

SetOpenidSig adds the openidSig to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetOpenidSigned

func (o *PlatformAuthenticationV3Params) SetOpenidSigned(openidSigned *string)

SetOpenidSigned adds the openidSigned to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetPlatformID

func (o *PlatformAuthenticationV3Params) SetPlatformID(platformID string)

SetPlatformID adds the platformId to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetState

func (o *PlatformAuthenticationV3Params) SetState(state string)

SetState adds the state to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) SetTimeout

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

SetTimeout adds the timeout to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithCode

WithCode adds the code to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithContext

WithContext adds the context to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithError

WithError adds the errorVar to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidAssocHandle

func (o *PlatformAuthenticationV3Params) WithOpenidAssocHandle(openidAssocHandle *string) *PlatformAuthenticationV3Params

WithOpenidAssocHandle adds the openidAssocHandle to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidClaimedID

func (o *PlatformAuthenticationV3Params) WithOpenidClaimedID(openidClaimedID *string) *PlatformAuthenticationV3Params

WithOpenidClaimedID adds the openidClaimedID to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidIdentity

func (o *PlatformAuthenticationV3Params) WithOpenidIdentity(openidIdentity *string) *PlatformAuthenticationV3Params

WithOpenidIdentity adds the openidIdentity to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidMode

WithOpenidMode adds the openidMode to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidNs

WithOpenidNs adds the openidNs to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidOpEndpoint

func (o *PlatformAuthenticationV3Params) WithOpenidOpEndpoint(openidOpEndpoint *string) *PlatformAuthenticationV3Params

WithOpenidOpEndpoint adds the openidOpEndpoint to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidResponseNonce

func (o *PlatformAuthenticationV3Params) WithOpenidResponseNonce(openidResponseNonce *string) *PlatformAuthenticationV3Params

WithOpenidResponseNonce adds the openidResponseNonce to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidReturnTo

func (o *PlatformAuthenticationV3Params) WithOpenidReturnTo(openidReturnTo *string) *PlatformAuthenticationV3Params

WithOpenidReturnTo adds the openidReturnTo to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidSig

WithOpenidSig adds the openidSig to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithOpenidSigned

func (o *PlatformAuthenticationV3Params) WithOpenidSigned(openidSigned *string) *PlatformAuthenticationV3Params

WithOpenidSigned adds the openidSigned to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithPlatformID

WithPlatformID adds the platformID to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithState

WithState adds the state to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WithTimeout

WithTimeout adds the timeout to the platform authentication v3 params

func (*PlatformAuthenticationV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PlatformAuthenticationV3Reader

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

PlatformAuthenticationV3Reader is a Reader for the PlatformAuthenticationV3 structure.

func (*PlatformAuthenticationV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PlatformTokenRefreshV3BadRequest

type PlatformTokenRefreshV3BadRequest struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

PlatformTokenRefreshV3BadRequest handles this case with default header values.

General request error

func NewPlatformTokenRefreshV3BadRequest

func NewPlatformTokenRefreshV3BadRequest() *PlatformTokenRefreshV3BadRequest

NewPlatformTokenRefreshV3BadRequest creates a PlatformTokenRefreshV3BadRequest with default headers values

func (*PlatformTokenRefreshV3BadRequest) Error

func (*PlatformTokenRefreshV3BadRequest) GetPayload

func (*PlatformTokenRefreshV3BadRequest) ToJSONString

func (o *PlatformTokenRefreshV3BadRequest) ToJSONString() string

type PlatformTokenRefreshV3Forbidden

type PlatformTokenRefreshV3Forbidden struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

PlatformTokenRefreshV3Forbidden handles this case with default header values.

Forbidden

func NewPlatformTokenRefreshV3Forbidden

func NewPlatformTokenRefreshV3Forbidden() *PlatformTokenRefreshV3Forbidden

NewPlatformTokenRefreshV3Forbidden creates a PlatformTokenRefreshV3Forbidden with default headers values

func (*PlatformTokenRefreshV3Forbidden) Error

func (*PlatformTokenRefreshV3Forbidden) GetPayload

func (*PlatformTokenRefreshV3Forbidden) ToJSONString

func (o *PlatformTokenRefreshV3Forbidden) ToJSONString() string

type PlatformTokenRefreshV3OK

type PlatformTokenRefreshV3OK struct {
	Payload *iamclientmodels.OauthmodelPlatformTokenRefreshResponseV3
}

PlatformTokenRefreshV3OK handles this case with default header values.

Token returned

func NewPlatformTokenRefreshV3OK

func NewPlatformTokenRefreshV3OK() *PlatformTokenRefreshV3OK

NewPlatformTokenRefreshV3OK creates a PlatformTokenRefreshV3OK with default headers values

func (*PlatformTokenRefreshV3OK) Error

func (o *PlatformTokenRefreshV3OK) Error() string

func (*PlatformTokenRefreshV3OK) GetPayload

func (*PlatformTokenRefreshV3OK) ToJSONString

func (o *PlatformTokenRefreshV3OK) ToJSONString() string

type PlatformTokenRefreshV3Params

type PlatformTokenRefreshV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*PlatformToken
	  Platform Token

	*/
	PlatformToken string
	/*PlatformID
	  Platform ID

	*/
	PlatformID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PlatformTokenRefreshV3Params contains all the parameters to send to the API endpoint for the platform token refresh v3 operation typically these are written to a http.Request

func NewPlatformTokenRefreshV3Params

func NewPlatformTokenRefreshV3Params() *PlatformTokenRefreshV3Params

NewPlatformTokenRefreshV3Params creates a new PlatformTokenRefreshV3Params object with the default values initialized.

func NewPlatformTokenRefreshV3ParamsWithContext

func NewPlatformTokenRefreshV3ParamsWithContext(ctx context.Context) *PlatformTokenRefreshV3Params

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

func NewPlatformTokenRefreshV3ParamsWithHTTPClient

func NewPlatformTokenRefreshV3ParamsWithHTTPClient(client *http.Client) *PlatformTokenRefreshV3Params

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

func NewPlatformTokenRefreshV3ParamsWithTimeout

func NewPlatformTokenRefreshV3ParamsWithTimeout(timeout time.Duration) *PlatformTokenRefreshV3Params

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

func (*PlatformTokenRefreshV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) SetContext

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

SetContext adds the context to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) SetFlightId

func (o *PlatformTokenRefreshV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PlatformTokenRefreshV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) SetPlatformID

func (o *PlatformTokenRefreshV3Params) SetPlatformID(platformID string)

SetPlatformID adds the platformId to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) SetPlatformToken

func (o *PlatformTokenRefreshV3Params) SetPlatformToken(platformToken string)

SetPlatformToken adds the platformToken to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) SetTimeout

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

SetTimeout adds the timeout to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) WithContext

WithContext adds the context to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) WithPlatformID

func (o *PlatformTokenRefreshV3Params) WithPlatformID(platformID string) *PlatformTokenRefreshV3Params

WithPlatformID adds the platformID to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) WithPlatformToken

func (o *PlatformTokenRefreshV3Params) WithPlatformToken(platformToken string) *PlatformTokenRefreshV3Params

WithPlatformToken adds the platformToken to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) WithTimeout

WithTimeout adds the timeout to the platform token refresh v3 params

func (*PlatformTokenRefreshV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PlatformTokenRefreshV3Reader

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

PlatformTokenRefreshV3Reader is a Reader for the PlatformTokenRefreshV3 structure.

func (*PlatformTokenRefreshV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PlatformTokenRefreshV3ServiceUnavailable

type PlatformTokenRefreshV3ServiceUnavailable struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

PlatformTokenRefreshV3ServiceUnavailable handles this case with default header values.

Third Party Server timeout or unavailable

func NewPlatformTokenRefreshV3ServiceUnavailable

func NewPlatformTokenRefreshV3ServiceUnavailable() *PlatformTokenRefreshV3ServiceUnavailable

NewPlatformTokenRefreshV3ServiceUnavailable creates a PlatformTokenRefreshV3ServiceUnavailable with default headers values

func (*PlatformTokenRefreshV3ServiceUnavailable) Error

func (*PlatformTokenRefreshV3ServiceUnavailable) GetPayload

func (*PlatformTokenRefreshV3ServiceUnavailable) ToJSONString

type PlatformTokenRefreshV3Unauthorized

type PlatformTokenRefreshV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

PlatformTokenRefreshV3Unauthorized handles this case with default header values.

Client authentication failed

func NewPlatformTokenRefreshV3Unauthorized

func NewPlatformTokenRefreshV3Unauthorized() *PlatformTokenRefreshV3Unauthorized

NewPlatformTokenRefreshV3Unauthorized creates a PlatformTokenRefreshV3Unauthorized with default headers values

func (*PlatformTokenRefreshV3Unauthorized) Error

func (*PlatformTokenRefreshV3Unauthorized) GetPayload

func (*PlatformTokenRefreshV3Unauthorized) ToJSONString

func (o *PlatformTokenRefreshV3Unauthorized) ToJSONString() string

type RequestOneTimeLinkingCodeV3OK

type RequestOneTimeLinkingCodeV3OK struct {
	Payload *iamclientmodels.OauthmodelOneTimeLinkingCodeResponse
}

RequestOneTimeLinkingCodeV3OK handles this case with default header values.

Succeed to one time code.

func NewRequestOneTimeLinkingCodeV3OK

func NewRequestOneTimeLinkingCodeV3OK() *RequestOneTimeLinkingCodeV3OK

NewRequestOneTimeLinkingCodeV3OK creates a RequestOneTimeLinkingCodeV3OK with default headers values

func (*RequestOneTimeLinkingCodeV3OK) Error

func (*RequestOneTimeLinkingCodeV3OK) GetPayload

func (*RequestOneTimeLinkingCodeV3OK) ToJSONString

func (o *RequestOneTimeLinkingCodeV3OK) ToJSONString() string

type RequestOneTimeLinkingCodeV3Params

type RequestOneTimeLinkingCodeV3Params struct {

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

	*/
	PlatformID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewRequestOneTimeLinkingCodeV3Params() *RequestOneTimeLinkingCodeV3Params

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

func NewRequestOneTimeLinkingCodeV3ParamsWithContext

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

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

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

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

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

func (*RequestOneTimeLinkingCodeV3Params) SetContext

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

func (*RequestOneTimeLinkingCodeV3Params) SetFlightId

func (o *RequestOneTimeLinkingCodeV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RequestOneTimeLinkingCodeV3Params) SetHTTPClient

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

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

func (*RequestOneTimeLinkingCodeV3Params) SetHTTPClientTransport

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

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

func (*RequestOneTimeLinkingCodeV3Params) SetPlatformID

func (o *RequestOneTimeLinkingCodeV3Params) SetPlatformID(platformID string)

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

func (*RequestOneTimeLinkingCodeV3Params) SetTimeout

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

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

func (*RequestOneTimeLinkingCodeV3Params) WithContext

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

func (*RequestOneTimeLinkingCodeV3Params) WithHTTPClient

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

func (*RequestOneTimeLinkingCodeV3Params) WithPlatformID

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

func (*RequestOneTimeLinkingCodeV3Params) WithTimeout

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

func (*RequestOneTimeLinkingCodeV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestOneTimeLinkingCodeV3Reader

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

RequestOneTimeLinkingCodeV3Reader is a Reader for the RequestOneTimeLinkingCodeV3 structure.

func (*RequestOneTimeLinkingCodeV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestTargetTokenResponseV3OK

type RequestTargetTokenResponseV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

RequestTargetTokenResponseV3OK handles this case with default header values.

Succeed to exchange token.

func NewRequestTargetTokenResponseV3OK

func NewRequestTargetTokenResponseV3OK() *RequestTargetTokenResponseV3OK

NewRequestTargetTokenResponseV3OK creates a RequestTargetTokenResponseV3OK with default headers values

func (*RequestTargetTokenResponseV3OK) Error

func (*RequestTargetTokenResponseV3OK) GetPayload

func (*RequestTargetTokenResponseV3OK) ToJSONString

func (o *RequestTargetTokenResponseV3OK) ToJSONString() string

type RequestTargetTokenResponseV3Params

type RequestTargetTokenResponseV3Params struct {

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

	*/
	AdditionalData *string
	/*Code
	  code from request target token response

	*/
	Code string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewRequestTargetTokenResponseV3Params

func NewRequestTargetTokenResponseV3Params() *RequestTargetTokenResponseV3Params

NewRequestTargetTokenResponseV3Params creates a new RequestTargetTokenResponseV3Params object with the default values initialized.

func NewRequestTargetTokenResponseV3ParamsWithContext

func NewRequestTargetTokenResponseV3ParamsWithContext(ctx context.Context) *RequestTargetTokenResponseV3Params

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

func NewRequestTargetTokenResponseV3ParamsWithHTTPClient

func NewRequestTargetTokenResponseV3ParamsWithHTTPClient(client *http.Client) *RequestTargetTokenResponseV3Params

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

func NewRequestTargetTokenResponseV3ParamsWithTimeout

func NewRequestTargetTokenResponseV3ParamsWithTimeout(timeout time.Duration) *RequestTargetTokenResponseV3Params

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

func (*RequestTargetTokenResponseV3Params) SetAdditionalData

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

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

func (*RequestTargetTokenResponseV3Params) SetAuthInfoWriter

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

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

func (*RequestTargetTokenResponseV3Params) SetCode

func (o *RequestTargetTokenResponseV3Params) SetCode(code string)

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

func (*RequestTargetTokenResponseV3Params) SetContext

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

func (*RequestTargetTokenResponseV3Params) SetFlightId

func (o *RequestTargetTokenResponseV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RequestTargetTokenResponseV3Params) SetHTTPClient

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

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

func (*RequestTargetTokenResponseV3Params) SetHTTPClientTransport

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

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

func (*RequestTargetTokenResponseV3Params) SetTimeout

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

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

func (*RequestTargetTokenResponseV3Params) WithAdditionalData

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

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

func (*RequestTargetTokenResponseV3Params) WithCode

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

func (*RequestTargetTokenResponseV3Params) WithContext

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

func (*RequestTargetTokenResponseV3Params) WithHTTPClient

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

func (*RequestTargetTokenResponseV3Params) WithTimeout

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

func (*RequestTargetTokenResponseV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestTargetTokenResponseV3Reader

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

RequestTargetTokenResponseV3Reader is a Reader for the RequestTargetTokenResponseV3 structure.

func (*RequestTargetTokenResponseV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestTokenByOneTimeLinkCodeResponseV3OK

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

func NewRequestTokenByOneTimeLinkCodeResponseV3OK() *RequestTokenByOneTimeLinkCodeResponseV3OK

NewRequestTokenByOneTimeLinkCodeResponseV3OK creates a RequestTokenByOneTimeLinkCodeResponseV3OK with default headers values

func (*RequestTokenByOneTimeLinkCodeResponseV3OK) Error

func (*RequestTokenByOneTimeLinkCodeResponseV3OK) GetPayload

func (*RequestTokenByOneTimeLinkCodeResponseV3OK) ToJSONString

type RequestTokenByOneTimeLinkCodeResponseV3Params

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewRequestTokenByOneTimeLinkCodeResponseV3Params() *RequestTokenByOneTimeLinkCodeResponseV3Params

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

func NewRequestTokenByOneTimeLinkCodeResponseV3ParamsWithContext

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

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

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

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

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

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

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetFlightId

func (o *RequestTokenByOneTimeLinkCodeResponseV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) SetHTTPClient

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

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

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

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

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithAdditionalData

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithClientID

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithContext

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithHTTPClient

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithIsTransient

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithOneTimeLinkCode

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WithTimeout

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

func (*RequestTokenByOneTimeLinkCodeResponseV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestTokenByOneTimeLinkCodeResponseV3Reader

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

RequestTokenByOneTimeLinkCodeResponseV3Reader is a Reader for the RequestTokenByOneTimeLinkCodeResponseV3 structure.

func (*RequestTokenByOneTimeLinkCodeResponseV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestTokenExchangeCodeV3OK

type RequestTokenExchangeCodeV3OK struct {
	Payload *iamclientmodels.OauthmodelTargetTokenCodeResponse
}

RequestTokenExchangeCodeV3OK handles this case with default header values.

Succeed to request token exchange code.

func NewRequestTokenExchangeCodeV3OK

func NewRequestTokenExchangeCodeV3OK() *RequestTokenExchangeCodeV3OK

NewRequestTokenExchangeCodeV3OK creates a RequestTokenExchangeCodeV3OK with default headers values

func (*RequestTokenExchangeCodeV3OK) Error

func (*RequestTokenExchangeCodeV3OK) GetPayload

func (*RequestTokenExchangeCodeV3OK) ToJSONString

func (o *RequestTokenExchangeCodeV3OK) ToJSONString() string

type RequestTokenExchangeCodeV3Params

type RequestTokenExchangeCodeV3Params struct {

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

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

	*/
	Namespace string
	/*CodeChallenge
	  Value generated by transforming code verifier using code challenge method.

	*/
	CodeChallenge *string
	/*CodeChallengeMethod
	  Method that is used to transform code verifier to code challenge

	*/
	CodeChallengeMethod *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewRequestTokenExchangeCodeV3Params

func NewRequestTokenExchangeCodeV3Params() *RequestTokenExchangeCodeV3Params

NewRequestTokenExchangeCodeV3Params creates a new RequestTokenExchangeCodeV3Params object with the default values initialized.

func NewRequestTokenExchangeCodeV3ParamsWithContext

func NewRequestTokenExchangeCodeV3ParamsWithContext(ctx context.Context) *RequestTokenExchangeCodeV3Params

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

func NewRequestTokenExchangeCodeV3ParamsWithHTTPClient

func NewRequestTokenExchangeCodeV3ParamsWithHTTPClient(client *http.Client) *RequestTokenExchangeCodeV3Params

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

func NewRequestTokenExchangeCodeV3ParamsWithTimeout

func NewRequestTokenExchangeCodeV3ParamsWithTimeout(timeout time.Duration) *RequestTokenExchangeCodeV3Params

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

func (*RequestTokenExchangeCodeV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetClientID

func (o *RequestTokenExchangeCodeV3Params) SetClientID(clientID string)

SetClientID adds the clientId to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetCodeChallenge

func (o *RequestTokenExchangeCodeV3Params) SetCodeChallenge(codeChallenge *string)

SetCodeChallenge adds the codeChallenge to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetCodeChallengeMethod

func (o *RequestTokenExchangeCodeV3Params) SetCodeChallengeMethod(codeChallengeMethod *string)

SetCodeChallengeMethod adds the codeChallengeMethod to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetContext

SetContext adds the context to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetFlightId

func (o *RequestTokenExchangeCodeV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RequestTokenExchangeCodeV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetNamespace

func (o *RequestTokenExchangeCodeV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) SetTimeout

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

SetTimeout adds the timeout to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WithClientID

WithClientID adds the clientID to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WithCodeChallenge

func (o *RequestTokenExchangeCodeV3Params) WithCodeChallenge(codeChallenge *string) *RequestTokenExchangeCodeV3Params

WithCodeChallenge adds the codeChallenge to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WithCodeChallengeMethod

func (o *RequestTokenExchangeCodeV3Params) WithCodeChallengeMethod(codeChallengeMethod *string) *RequestTokenExchangeCodeV3Params

WithCodeChallengeMethod adds the codeChallengeMethod to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WithContext

WithContext adds the context to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WithNamespace

WithNamespace adds the namespace to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WithTimeout

WithTimeout adds the timeout to the request token exchange code v3 params

func (*RequestTokenExchangeCodeV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestTokenExchangeCodeV3Reader

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

RequestTokenExchangeCodeV3Reader is a Reader for the RequestTokenExchangeCodeV3 structure.

func (*RequestTokenExchangeCodeV3Reader) ReadResponse

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *UserAuthenticationV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UserAuthenticationV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user authentication v3 params

func (*UserAuthenticationV3Params) SetHTTPClientTransport

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

type ValidateOneTimeLinkingCodeV3OK struct {
	Payload *iamclientmodels.OauthmodelOneTimeLinkingCodeValidationResponse
}

ValidateOneTimeLinkingCodeV3OK handles this case with default header values.

Succeed to validate one time code.

func NewValidateOneTimeLinkingCodeV3OK

func NewValidateOneTimeLinkingCodeV3OK() *ValidateOneTimeLinkingCodeV3OK

NewValidateOneTimeLinkingCodeV3OK creates a ValidateOneTimeLinkingCodeV3OK with default headers values

func (*ValidateOneTimeLinkingCodeV3OK) Error

func (*ValidateOneTimeLinkingCodeV3OK) GetPayload

func (*ValidateOneTimeLinkingCodeV3OK) ToJSONString

func (o *ValidateOneTimeLinkingCodeV3OK) ToJSONString() string

type ValidateOneTimeLinkingCodeV3Params

type ValidateOneTimeLinkingCodeV3Params struct {

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

	*/
	OneTimeLinkCode string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewValidateOneTimeLinkingCodeV3Params() *ValidateOneTimeLinkingCodeV3Params

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

func NewValidateOneTimeLinkingCodeV3ParamsWithContext

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

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

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

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

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

func (*ValidateOneTimeLinkingCodeV3Params) SetContext

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

func (*ValidateOneTimeLinkingCodeV3Params) SetFlightId

func (o *ValidateOneTimeLinkingCodeV3Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ValidateOneTimeLinkingCodeV3Params) SetHTTPClient

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

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

func (*ValidateOneTimeLinkingCodeV3Params) SetHTTPClientTransport

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

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

func (*ValidateOneTimeLinkingCodeV3Params) SetOneTimeLinkCode

func (o *ValidateOneTimeLinkingCodeV3Params) SetOneTimeLinkCode(oneTimeLinkCode string)

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

func (*ValidateOneTimeLinkingCodeV3Params) SetTimeout

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

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

func (*ValidateOneTimeLinkingCodeV3Params) WithContext

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

func (*ValidateOneTimeLinkingCodeV3Params) WithHTTPClient

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

func (*ValidateOneTimeLinkingCodeV3Params) WithOneTimeLinkCode

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

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

func (*ValidateOneTimeLinkingCodeV3Params) WithTimeout

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

func (*ValidateOneTimeLinkingCodeV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateOneTimeLinkingCodeV3Reader

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

ValidateOneTimeLinkingCodeV3Reader is a Reader for the ValidateOneTimeLinkingCodeV3 structure.

func (*ValidateOneTimeLinkingCodeV3Reader) ReadResponse

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