o_auth2_0

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AuthorizeV3S256Constant  = "S256"
	AuthorizeV3PlainConstant = "plain"
)

Get the enum in AuthorizeV3Params

View Source
const (
	TokenGrantV3AuthorizationCodeConstant = "authorization_code"
	TokenGrantV3ClientCredentialsConstant = "client_credentials"
	TokenGrantV3PasswordConstant          = "password"
	TokenGrantV3RefreshTokenConstant      = "refresh_token"
)

Get the enum in TokenGrantV3Params

View Source
const (
	AuthorizeV3CodeConstant = "code"
)

Get the enum in AuthorizeV3Params

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden handles this case with default header values.

Unauthorized access

func NewAdminRetrieveUserThirdPartyPlatformTokenV3Forbidden added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3Forbidden() *AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden

NewAdminRetrieveUserThirdPartyPlatformTokenV3Forbidden creates a AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden with default headers values

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden) Error added in v0.8.0

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden) GetPayload added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3NotFound added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3NotFound struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

AdminRetrieveUserThirdPartyPlatformTokenV3NotFound handles this case with default header values.

Platform Token Not Found

func NewAdminRetrieveUserThirdPartyPlatformTokenV3NotFound added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3NotFound() *AdminRetrieveUserThirdPartyPlatformTokenV3NotFound

NewAdminRetrieveUserThirdPartyPlatformTokenV3NotFound creates a AdminRetrieveUserThirdPartyPlatformTokenV3NotFound with default headers values

func (*AdminRetrieveUserThirdPartyPlatformTokenV3NotFound) Error added in v0.8.0

func (*AdminRetrieveUserThirdPartyPlatformTokenV3NotFound) GetPayload added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3OK added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenThirdPartyResponse
}

AdminRetrieveUserThirdPartyPlatformTokenV3OK handles this case with default header values.

Token returned

func NewAdminRetrieveUserThirdPartyPlatformTokenV3OK added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3OK() *AdminRetrieveUserThirdPartyPlatformTokenV3OK

NewAdminRetrieveUserThirdPartyPlatformTokenV3OK creates a AdminRetrieveUserThirdPartyPlatformTokenV3OK with default headers values

func (*AdminRetrieveUserThirdPartyPlatformTokenV3OK) Error added in v0.8.0

func (*AdminRetrieveUserThirdPartyPlatformTokenV3OK) GetPayload added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3Params added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*PlatformID
	  Platform ID

	*/
	PlatformID string
	/*UserID
	  UserId

	*/
	UserID string

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

AdminRetrieveUserThirdPartyPlatformTokenV3Params contains all the parameters to send to the API endpoint for the admin retrieve user third party platform token v3 operation typically these are written to a http.Request

func NewAdminRetrieveUserThirdPartyPlatformTokenV3Params added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3Params() *AdminRetrieveUserThirdPartyPlatformTokenV3Params

NewAdminRetrieveUserThirdPartyPlatformTokenV3Params creates a new AdminRetrieveUserThirdPartyPlatformTokenV3Params object with the default values initialized.

func NewAdminRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext(ctx context.Context) *AdminRetrieveUserThirdPartyPlatformTokenV3Params

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

func NewAdminRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient(client *http.Client) *AdminRetrieveUserThirdPartyPlatformTokenV3Params

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

func NewAdminRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout(timeout time.Duration) *AdminRetrieveUserThirdPartyPlatformTokenV3Params

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

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetContext added in v0.8.0

SetContext adds the context to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetHTTPClient added in v0.8.0

SetHTTPClient adds the HTTPClient to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetNamespace added in v0.8.0

func (o *AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetPlatformID added in v0.8.0

func (o *AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetPlatformID(platformID string)

SetPlatformID adds the platformId to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetTimeout added in v0.8.0

SetTimeout adds the timeout to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) SetUserID added in v0.8.0

SetUserID adds the userId to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) WithContext added in v0.8.0

WithContext adds the context to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) WithHTTPClient added in v0.8.0

WithHTTPClient adds the HTTPClient to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) WithNamespace added in v0.8.0

WithNamespace adds the namespace to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) WithPlatformID added in v0.8.0

WithPlatformID adds the platformID to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) WithTimeout added in v0.8.0

WithTimeout adds the timeout to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) WithUserID added in v0.8.0

WithUserID adds the userID to the admin retrieve user third party platform token v3 params

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Params) WriteToRequest added in v0.8.0

WriteToRequest writes these params to a swagger request

type AdminRetrieveUserThirdPartyPlatformTokenV3Reader added in v0.8.0

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

AdminRetrieveUserThirdPartyPlatformTokenV3Reader is a Reader for the AdminRetrieveUserThirdPartyPlatformTokenV3 structure.

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Reader) ReadResponse added in v0.8.0

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

ReadResponse reads a server response into the received o.

type AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized added in v0.8.0

type AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized handles this case with default header values.

Client authentication failed

func NewAdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized added in v0.8.0

func NewAdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized() *AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized

NewAdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized creates a AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized with default headers values

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized) Error added in v0.8.0

func (*AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized) GetPayload added in v0.8.0

type AuthCodeRequestV3Found added in v0.2.0

type AuthCodeRequestV3Found struct {
	/*The Location header
	 */
	Location string
}

AuthCodeRequestV3Found handles this case with default header values.

Found. Redirect to client’s redirect URI with either code or error on the query parameter

func NewAuthCodeRequestV3Found added in v0.2.0

func NewAuthCodeRequestV3Found() *AuthCodeRequestV3Found

NewAuthCodeRequestV3Found creates a AuthCodeRequestV3Found with default headers values

func (*AuthCodeRequestV3Found) Error added in v0.2.0

func (o *AuthCodeRequestV3Found) Error() string

type AuthCodeRequestV3Params added in v0.2.0

type AuthCodeRequestV3Params struct {

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

	*/
	ClientID *string
	/*PlatformID
	  Platform ID

	*/
	PlatformID string
	/*RedirectURI
	  Redirect URI

	*/
	RedirectURI *string
	/*RequestID
	  Request ID retrieved from authorize endpoint ([GET] iam/v3/oauth/authorize)

	*/
	RequestID string

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

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

func NewAuthCodeRequestV3Params added in v0.2.0

func NewAuthCodeRequestV3Params() *AuthCodeRequestV3Params

NewAuthCodeRequestV3Params creates a new AuthCodeRequestV3Params object with the default values initialized.

func NewAuthCodeRequestV3ParamsWithContext added in v0.2.0

func NewAuthCodeRequestV3ParamsWithContext(ctx context.Context) *AuthCodeRequestV3Params

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

func NewAuthCodeRequestV3ParamsWithHTTPClient added in v0.2.0

func NewAuthCodeRequestV3ParamsWithHTTPClient(client *http.Client) *AuthCodeRequestV3Params

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

func NewAuthCodeRequestV3ParamsWithTimeout added in v0.2.0

func NewAuthCodeRequestV3ParamsWithTimeout(timeout time.Duration) *AuthCodeRequestV3Params

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

func (*AuthCodeRequestV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetClientID added in v0.2.0

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

SetClientID adds the clientId to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetContext added in v0.2.0

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

SetContext adds the context to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetPlatformID added in v0.2.0

func (o *AuthCodeRequestV3Params) SetPlatformID(platformID string)

SetPlatformID adds the platformId to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetRedirectURI added in v0.2.0

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

SetRedirectURI adds the redirectUri to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetRequestID added in v0.2.0

func (o *AuthCodeRequestV3Params) SetRequestID(requestID string)

SetRequestID adds the requestId to the auth code request v3 params

func (*AuthCodeRequestV3Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the auth code request v3 params

func (*AuthCodeRequestV3Params) WithClientID added in v0.2.0

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

WithClientID adds the clientID to the auth code request v3 params

func (*AuthCodeRequestV3Params) WithContext added in v0.2.0

WithContext adds the context to the auth code request v3 params

func (*AuthCodeRequestV3Params) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the auth code request v3 params

func (*AuthCodeRequestV3Params) WithPlatformID added in v0.2.0

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

WithPlatformID adds the platformID to the auth code request v3 params

func (*AuthCodeRequestV3Params) WithRedirectURI added in v0.2.0

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

WithRedirectURI adds the redirectURI to the auth code request v3 params

func (*AuthCodeRequestV3Params) WithRequestID added in v0.2.0

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

WithRequestID adds the requestID to the auth code request v3 params

func (*AuthCodeRequestV3Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the auth code request v3 params

func (*AuthCodeRequestV3Params) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type AuthCodeRequestV3Reader added in v0.2.0

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

AuthCodeRequestV3Reader is a Reader for the AuthCodeRequestV3 structure.

func (*AuthCodeRequestV3Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type AuthorizeV3Found

type AuthorizeV3Found struct {
	/*The Location header
	 */
	Location string
}

AuthorizeV3Found handles this case with default header values.

Found. Redirected to login page with either request_id or error.

func NewAuthorizeV3Found

func NewAuthorizeV3Found() *AuthorizeV3Found

NewAuthorizeV3Found creates a AuthorizeV3Found with default headers values

func (*AuthorizeV3Found) Error

func (o *AuthorizeV3Found) Error() string

type AuthorizeV3Params

type AuthorizeV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ClientID
	  Registered client ID

	*/
	ClientID string
	/*CodeChallenge
	  Value generated by transforming code verifier using code challenge method. Mandatory for public client.

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

	*/
	CodeChallengeMethod *string
	/*CreateHeadless
	  If create new headless account when login by new third platform user

	*/
	CreateHeadless *bool
	/*RedirectURI
	  Redirect URI registered for requesting client. Required if client registered with multiple redirect URI. Registered redirect uri will be assigned if left empty.

	*/
	RedirectURI *string
	/*ResponseType
	  Supported response type : 'code'

	*/
	ResponseType string
	/*Scope
	  Defines the requested access request scope. Can be multiple values delimited by whitespace.

	*/
	Scope *string
	/*State
	  Random value for preventing cross-site request forgery used by client.

	*/
	State *string
	/*TargetAuthPage
	  Custom query to tell authorization web which page to present to user

	*/
	TargetAuthPage *string

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

AuthorizeV3Params contains all the parameters to send to the API endpoint for the authorize v3 operation typically these are written to a http.Request

func NewAuthorizeV3Params

func NewAuthorizeV3Params() *AuthorizeV3Params

NewAuthorizeV3Params creates a new AuthorizeV3Params object with the default values initialized.

func NewAuthorizeV3ParamsWithContext

func NewAuthorizeV3ParamsWithContext(ctx context.Context) *AuthorizeV3Params

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

func NewAuthorizeV3ParamsWithHTTPClient

func NewAuthorizeV3ParamsWithHTTPClient(client *http.Client) *AuthorizeV3Params

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

func NewAuthorizeV3ParamsWithTimeout

func NewAuthorizeV3ParamsWithTimeout(timeout time.Duration) *AuthorizeV3Params

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

func (*AuthorizeV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the authorize v3 params

func (*AuthorizeV3Params) SetClientID

func (o *AuthorizeV3Params) SetClientID(clientID string)

SetClientID adds the clientId to the authorize v3 params

func (*AuthorizeV3Params) SetCodeChallenge

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

SetCodeChallenge adds the codeChallenge to the authorize v3 params

func (*AuthorizeV3Params) SetCodeChallengeMethod

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

SetCodeChallengeMethod adds the codeChallengeMethod to the authorize v3 params

func (*AuthorizeV3Params) SetContext

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

SetContext adds the context to the authorize v3 params

func (*AuthorizeV3Params) SetCreateHeadless added in v0.20.0

func (o *AuthorizeV3Params) SetCreateHeadless(createHeadless *bool)

SetCreateHeadless adds the createHeadless to the authorize v3 params

func (*AuthorizeV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the authorize v3 params

func (*AuthorizeV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the authorize v3 params

func (*AuthorizeV3Params) SetRedirectURI

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

SetRedirectURI adds the redirectUri to the authorize v3 params

func (*AuthorizeV3Params) SetResponseType

func (o *AuthorizeV3Params) SetResponseType(responseType string)

SetResponseType adds the responseType to the authorize v3 params

func (*AuthorizeV3Params) SetScope

func (o *AuthorizeV3Params) SetScope(scope *string)

SetScope adds the scope to the authorize v3 params

func (*AuthorizeV3Params) SetState

func (o *AuthorizeV3Params) SetState(state *string)

SetState adds the state to the authorize v3 params

func (*AuthorizeV3Params) SetTargetAuthPage

func (o *AuthorizeV3Params) SetTargetAuthPage(targetAuthPage *string)

SetTargetAuthPage adds the targetAuthPage to the authorize v3 params

func (*AuthorizeV3Params) SetTimeout

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

SetTimeout adds the timeout to the authorize v3 params

func (*AuthorizeV3Params) WithClientID

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

WithClientID adds the clientID to the authorize v3 params

func (*AuthorizeV3Params) WithCodeChallenge

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

WithCodeChallenge adds the codeChallenge to the authorize v3 params

func (*AuthorizeV3Params) WithCodeChallengeMethod

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

WithCodeChallengeMethod adds the codeChallengeMethod to the authorize v3 params

func (*AuthorizeV3Params) WithContext

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

WithContext adds the context to the authorize v3 params

func (*AuthorizeV3Params) WithCreateHeadless added in v0.20.0

func (o *AuthorizeV3Params) WithCreateHeadless(createHeadless *bool) *AuthorizeV3Params

WithCreateHeadless adds the createHeadless to the authorize v3 params

func (*AuthorizeV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the authorize v3 params

func (*AuthorizeV3Params) WithRedirectURI

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

WithRedirectURI adds the redirectURI to the authorize v3 params

func (*AuthorizeV3Params) WithResponseType

func (o *AuthorizeV3Params) WithResponseType(responseType string) *AuthorizeV3Params

WithResponseType adds the responseType to the authorize v3 params

func (*AuthorizeV3Params) WithScope

func (o *AuthorizeV3Params) WithScope(scope *string) *AuthorizeV3Params

WithScope adds the scope to the authorize v3 params

func (*AuthorizeV3Params) WithState

func (o *AuthorizeV3Params) WithState(state *string) *AuthorizeV3Params

WithState adds the state to the authorize v3 params

func (*AuthorizeV3Params) WithTargetAuthPage

func (o *AuthorizeV3Params) WithTargetAuthPage(targetAuthPage *string) *AuthorizeV3Params

WithTargetAuthPage adds the targetAuthPage to the authorize v3 params

func (*AuthorizeV3Params) WithTimeout

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

WithTimeout adds the timeout to the authorize v3 params

func (*AuthorizeV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuthorizeV3Reader

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

AuthorizeV3Reader is a Reader for the AuthorizeV3 structure.

func (*AuthorizeV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Change2FAMethodBadRequest added in v0.15.0

type Change2FAMethodBadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

Change2FAMethodBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>10189</td><td>invalid factor</td></tr></table>

func NewChange2FAMethodBadRequest added in v0.15.0

func NewChange2FAMethodBadRequest() *Change2FAMethodBadRequest

NewChange2FAMethodBadRequest creates a Change2FAMethodBadRequest with default headers values

func (*Change2FAMethodBadRequest) Error added in v0.15.0

func (o *Change2FAMethodBadRequest) Error() string

func (*Change2FAMethodBadRequest) GetPayload added in v0.15.0

type Change2FAMethodNoContent added in v0.15.0

type Change2FAMethodNoContent struct {
}

Change2FAMethodNoContent handles this case with default header values.

Method changed

func NewChange2FAMethodNoContent added in v0.15.0

func NewChange2FAMethodNoContent() *Change2FAMethodNoContent

NewChange2FAMethodNoContent creates a Change2FAMethodNoContent with default headers values

func (*Change2FAMethodNoContent) Error added in v0.15.0

func (o *Change2FAMethodNoContent) Error() string

type Change2FAMethodParams added in v0.15.0

type Change2FAMethodParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Factor
	  factor

	*/
	Factor string
	/*MfaToken
	  mfa token

	*/
	MfaToken string

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

Change2FAMethodParams contains all the parameters to send to the API endpoint for the change2 f a method operation typically these are written to a http.Request

func NewChange2FAMethodParams added in v0.15.0

func NewChange2FAMethodParams() *Change2FAMethodParams

NewChange2FAMethodParams creates a new Change2FAMethodParams object with the default values initialized.

func NewChange2FAMethodParamsWithContext added in v0.15.0

func NewChange2FAMethodParamsWithContext(ctx context.Context) *Change2FAMethodParams

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

func NewChange2FAMethodParamsWithHTTPClient added in v0.15.0

func NewChange2FAMethodParamsWithHTTPClient(client *http.Client) *Change2FAMethodParams

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

func NewChange2FAMethodParamsWithTimeout added in v0.15.0

func NewChange2FAMethodParamsWithTimeout(timeout time.Duration) *Change2FAMethodParams

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

func (*Change2FAMethodParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the change2 f a method params

func (*Change2FAMethodParams) SetContext added in v0.15.0

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

SetContext adds the context to the change2 f a method params

func (*Change2FAMethodParams) SetFactor added in v0.15.0

func (o *Change2FAMethodParams) SetFactor(factor string)

SetFactor adds the factor to the change2 f a method params

func (*Change2FAMethodParams) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the change2 f a method params

func (*Change2FAMethodParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the change2 f a method params

func (*Change2FAMethodParams) SetMfaToken added in v0.15.0

func (o *Change2FAMethodParams) SetMfaToken(mfaToken string)

SetMfaToken adds the mfaToken to the change2 f a method params

func (*Change2FAMethodParams) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the change2 f a method params

func (*Change2FAMethodParams) WithContext added in v0.15.0

WithContext adds the context to the change2 f a method params

func (*Change2FAMethodParams) WithFactor added in v0.15.0

func (o *Change2FAMethodParams) WithFactor(factor string) *Change2FAMethodParams

WithFactor adds the factor to the change2 f a method params

func (*Change2FAMethodParams) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the change2 f a method params

func (*Change2FAMethodParams) WithMfaToken added in v0.15.0

func (o *Change2FAMethodParams) WithMfaToken(mfaToken string) *Change2FAMethodParams

WithMfaToken adds the mfaToken to the change2 f a method params

func (*Change2FAMethodParams) WithTimeout added in v0.15.0

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

WithTimeout adds the timeout to the change2 f a method params

func (*Change2FAMethodParams) WriteToRequest added in v0.15.0

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

WriteToRequest writes these params to a swagger request

type Change2FAMethodReader added in v0.15.0

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

Change2FAMethodReader is a Reader for the Change2FAMethod structure.

func (*Change2FAMethodReader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for o auth2 0 API

func (*Client) AdminRetrieveUserThirdPartyPlatformTokenV3 added in v0.8.0

AdminRetrieveUserThirdPartyPlatformTokenV3 admins retrieve user third party platform token

Admin Retrieve User Third Party Platform Token&lt;br/&gt;

&lt;p&gt; This endpoint used for retrieving third party platform token for user that login using third party. Passing platform group name or it&#39;s member will return same access token that can be used across the platform members. &lt;/p&gt;

  &lt;p&gt;Notes:&lt;/p&gt;
&lt;ul&gt;
          &lt;li&gt;Required permission: ADMIN:NAMESPACE:{namespace}:USER:{userId} [READ]&lt;/li&gt;
      &lt;/ul&gt;

&lt;p&gt;The third party platform and platform group covered for this is:&lt;/p&gt; &lt;ul&gt;

&lt;li&gt;(psn) ps4web&lt;/li&gt;
&lt;li&gt;(psn) ps4&lt;/li&gt;
&lt;li&gt;(psn) ps5&lt;/li&gt;
&lt;li&gt;xbox live&lt;/li&gt;
&lt;li&gt;steam&lt;/li&gt;

&lt;/ul&gt;

func (*Client) AdminRetrieveUserThirdPartyPlatformTokenV3Short added in v0.8.0

func (a *Client) AdminRetrieveUserThirdPartyPlatformTokenV3Short(params *AdminRetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveUserThirdPartyPlatformTokenV3OK, error)

func (*Client) AuthCodeRequestV3 added in v0.2.0

func (a *Client) AuthCodeRequestV3(params *AuthCodeRequestV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthCodeRequestV3Found, error)
  AuthCodeRequestV3 generates url to request auth code from third party platform

  Generate url to request auth code from third party platform &lt;br&gt;
               &lt;h2&gt;Supported platforms:&lt;/h2&gt;&lt;ul&gt;
               &lt;li&gt;&lt;strong&gt;steamopenid&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to steam login page, then redirect back to platform
               authenticate endpoint after successfully authenticating user steam.
               &lt;li&gt;&lt;strong&gt;xblweb&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to xbox login page, then redirect back to platform
               authenticate endpoint after successfully authenticating xbox user.
               &lt;li&gt;&lt;strong&gt;ps4web&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to psn login page, then redirect back to platform
               authenticate endpoint after successfully authenticating psn user.
               &lt;li&gt;&lt;strong&gt;epicgames&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to Epicgames OAuth login page. then redirect to platform
               authenticate endpoint after successfully authenticating an Epicgames credential
               &lt;li&gt;&lt;strong&gt;twitch&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to twitch login page, then redirect back to platform
               authenticate endpoint after successfully authenticating twitch user.
               &lt;li&gt;&lt;strong&gt;azure&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to azure login page, then redirect back to platform
               authenticate(saml) endpoint after successfully authenticating azure user.
               &lt;li&gt;&lt;strong&gt;facebook&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to facebook login page, then redirect back to platform
               authenticate endpoint after successfully authenticating facebook user.
               &lt;li&gt;&lt;strong&gt;google&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to google login page, then redirect back to platform
               authenticate endpoint after successfully authenticating google user.
			   &lt;li&gt;&lt;strong&gt;snapchat&lt;/strong&gt;&lt;/li&gt;This endpoint redirects to snapchat login page, then redirect back to platform
               authenticate endpoint after successfully authenticating snapchat user.
               &lt;/ul&gt; action code : 10702&#39;

func (*Client) AuthCodeRequestV3Short added in v0.8.0

func (a *Client) AuthCodeRequestV3Short(params *AuthCodeRequestV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthCodeRequestV3Found, error)

func (*Client) AuthorizeV3

func (a *Client) AuthorizeV3(params *AuthorizeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthorizeV3Found, error)
AuthorizeV3 os auth2 authorize API

Initializes OAuth2.0 authorization code flow&lt;br/&gt;

&lt;p&gt;The endpoint stores authorization request and redirects to login page with the authorization request id.

The user can then do the authentication on the login page.
The user will be redirected back to the requesting client with authorization code if successfully authenticated.

&lt;/p&gt; &lt;p&gt;Only authorization code flow supported by this endpoint, implicit flow is not supported.&lt;/p&gt; &lt;ul&gt;

&lt;li&gt;&lt;p&gt;&lt;strong&gt;Authorize success&lt;/strong&gt;:
	redirects to login page with the following information: ?request_id={authorization_request_id}&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Authorize failure&lt;/strong&gt;:
	redirects to the given redirect uri with the following information:
	?error={error_code}&amp;error_description={error description}&lt;/p&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Following are the error code based on the specification:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;&lt;p&gt;invalid_request: The request is missing a required parameter,
	includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;server_error:
	The authorization server encountered an unexpected condition that prevented it from fulfilling the request.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;unauthorized_client: The client is not authorized to request a token using this method.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;access_denied: The resource owner or authorization server denied the request.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;invalid_scope: The requested scope is invalid, unknown, or malformed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;unsupported_response_type: The authorization server does not support obtaining a token using this method.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;temporarily_unavailable: The authorization server is currently unable to handle the request
	due to a temporary overloading or maintenance of the server.&lt;/p&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Please refer to the RFC for more information about authorization code flow: https://tools.ietf.org/html/rfc6749#section-4.1&lt;/p&gt;&lt;br&gt;
action code: 10701

func (*Client) AuthorizeV3Short added in v0.8.0

func (a *Client) AuthorizeV3Short(params *AuthorizeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthorizeV3Found, error)

func (*Client) Change2FAMethod added in v0.15.0

Change2FAMethod changes 2 f a method

Change 2FA method&lt;br/&gt;

&lt;p&gt;This endpoint is used for change 2FA method. Only enabled methods are accepted.&lt;/p&gt; &lt;p&gt;Supported methods:&lt;/p&gt; &lt;ul&gt;

&lt;li&gt;authenticator&lt;/li&gt;
&lt;li&gt;backupCodes&lt;/li&gt;

&lt;/ul&gt;

func (*Client) Change2FAMethodShort added in v0.15.0

func (a *Client) Change2FAMethodShort(params *Change2FAMethodParams, authInfo runtime.ClientAuthInfoWriter) (*Change2FAMethodNoContent, error)

func (*Client) GetJWKSV3 added in v0.2.0

func (a *Client) GetJWKSV3(params *GetJWKSV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetJWKSV3OK, error)
  GetJWKSV3 JSONs web key set for verifying j w t

  &lt;p&gt;This endpoint serves public keys for verifying JWT access tokens generated by this service.&lt;/p&gt;
			&lt;p&gt;When a client application wants to verify a JWT token, it needs to get the &#39;kid&#39; value found in the JWT token header and use it
			to look up the corresponding public key from a set returned by this endpoint. The client application can then use that public key to verify the JWT.&lt;/p&gt;
			&lt;p&gt;A client application might cache the keys so it doesn&#39;t need to do request every time it needs to verify a JWT token. If a client application
			caches the keys and a key with the same &#39;kid&#39; cannot be found in the cache, it should then try to refresh the keys by making a request to this
			endpoint again.&lt;/p&gt;
			&lt;p&gt;Please refer to the RFC for more information about JWK (JSON Web Key): https://tools.ietf.org/html/rfc7517&lt;/p&gt;
			&lt;br&gt;action code : 10709

func (*Client) GetJWKSV3Short added in v0.8.0

func (a *Client) GetJWKSV3Short(params *GetJWKSV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetJWKSV3OK, error)

func (*Client) GetRevocationListV3 added in v0.2.0

  GetRevocationListV3 os auth2 revocation list API

  &lt;p&gt;This endpoint will return a list of revoked users and revoked tokens. List of revoked tokens in bloom filter format.&lt;/p&gt;
					 &lt;p&gt;This endpoint requires authorized requests header with valid access token.&lt;/p&gt;
					 &lt;p&gt;The bloom filter uses MurmurHash3 algorithm for hashing the values&lt;/p&gt;
					 &lt;p&gt;action code : 10708&lt;/p&gt;

func (*Client) GetRevocationListV3Short added in v0.8.0

func (a *Client) GetRevocationListV3Short(params *GetRevocationListV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetRevocationListV3OK, error)

func (*Client) PlatformTokenGrantV3 added in v0.2.0

  PlatformTokenGrantV3 os auth2 access token generation specific to platform

  &lt;p&gt;Platform token grant specifically used for performing token grant using platform, e.g. Steam, Justice, etc. The endpoint automatically create an account if the account associated with the platform is not exists yet.
			This endpoint requires all requests to have Authorization header set with Basic access authentication
			constructed from client id and client secret. For publisher-game namespace schema : Specify only either platform_token or device_id. Device token grant
			should be requested along with device_id parameter against game namespace. Another 3rd party platform token grant should be requested
			along with platform_token parameter against publisher namespace.&lt;/p&gt;
			&lt;h2&gt;Supported platforms:&lt;/h2&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;strong&gt;steam&lt;/strong&gt;: The platform_token’s value is the authentication code returned by Steam.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;steamopenid&lt;/strong&gt;: Steam&#39;s user authentication method using OpenID 2.0. The platform_token&#39;s value is URL generated by Steam on web authentication&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;facebook&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Facebook OAuth&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;google&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Google OAuth&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;oculus&lt;/strong&gt;: The platform_token’s value is a string composed of Oculus&#39;s user ID and the nonce separated by a colon (:).&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;twitch&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Twitch OAuth.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;discord&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Discord OAuth&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;android&lt;/strong&gt;: The device_id is the Android’s device ID&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;ios&lt;/strong&gt;: The device_id is the iOS’s device ID.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;apple&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Apple OAuth.(We will use this code to generate APP token)&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;device&lt;/strong&gt;: Every device that does’nt run Android and iOS is categorized as a device. The device_id is the device’s ID.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;justice&lt;/strong&gt;: The platform_token’s value is the designated user’s access token.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;epicgames&lt;/strong&gt;: The platform_token’s value is an access-token obtained from Epicgames EOS Account Service.&lt;/li&gt;
                &lt;li&gt;&lt;strong&gt;stadia&lt;/strong&gt;: The platform_token&#39;s value is a JWT Token, which can be obtained after calling the Stadia SDK&#39;s function.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;ps4&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Sony OAuth.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;ps5&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Sony OAuth.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;nintendo&lt;/strong&gt;: The platform_token’s value is the authorization code(id_token) returned by Nintendo OAuth.&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;awscognito&lt;/strong&gt;: The platform_token’s value is the aws cognito access token or id token (JWT).&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;live&lt;/strong&gt;: The platform_token’s value is xbox XSTS token&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;xblweb&lt;/strong&gt;: The platform_token’s value is code returned by xbox after login&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;netflix&lt;/strong&gt;: The platform_token’s value is GAT (Gamer Access Token) returned by Netflix backend&lt;/li&gt;
				&lt;li&gt;&lt;strong&gt;snapchat&lt;/strong&gt;: The platform_token’s value is the authorization code returned by Snapchat OAuth.&lt;/li&gt;
			&lt;/ul&gt;
			&lt;h2&gt;Account Group&lt;/h2&gt;
			&lt;p&gt;Several platforms are grouped under account groups. The accounts on these platforms have the same platform user id.
			Login using one of these platform will returns the same IAM user. &lt;/p&gt;
			&lt;p&gt;Following is the current registered account grouping: &lt;/p&gt;
			&lt;ul&gt;
			&lt;li&gt; (psn) ps4web &lt;/li&gt;
			&lt;li&gt; (psn) ps4 &lt;/li&gt;
			&lt;li&gt; (psn) ps5 &lt;/li&gt;
			&lt;/ul&gt;
			&lt;h2&gt;Access Token Content&lt;/h2&gt;
			&lt;p&gt;Following is the access token’s content:&lt;/p&gt;
			&lt;ul&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;namespace&lt;/strong&gt;. It is the namespace the token was generated from.&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;display_name&lt;/strong&gt;. The display name of the sub. It is empty if the token is generated from the client credential&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;roles&lt;/strong&gt;. The sub’s roles. It is empty if the token is generated from the client credential&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;namespace_roles&lt;/strong&gt;. The sub’s roles scoped to namespace. Improvement from roles, which make the role scoped to specific namespace instead of global to publisher namespace&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;permissions&lt;/strong&gt;. The sub or aud’ permissions&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;bans&lt;/strong&gt;. The sub’s list of bans. It is used by the IAM client for validating the token.&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;jflgs&lt;/strong&gt;. It stands for Justice Flags. It is a special flag used for storing additional status information regarding the sub. It is implemented as a bit mask. Following explains what each bit represents:&lt;/p&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;p&gt;1: Email Address Verified&lt;/p&gt;&lt;/li&gt;
				&lt;li&gt;&lt;p&gt;2: Phone Number Verified&lt;/p&gt;&lt;/li&gt;
				&lt;li&gt;&lt;p&gt;4: Anonymous&lt;/p&gt;&lt;/li&gt;
				&lt;li&gt;&lt;p&gt;8: Suspicious Login&lt;/p&gt;&lt;/li&gt;
			&lt;/ul&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;aud&lt;/strong&gt;. The aud is the client ID.&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;iat&lt;/strong&gt;. The time the token issues at. It is in Epoch time format&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;exp&lt;/strong&gt;. The time the token expires. It is in Epoch time format&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;sub&lt;/strong&gt;. The UserID. The sub is omitted if the token is generated from client credential&lt;/p&gt;
			&lt;/li&gt;
			&lt;h2&gt;Bans&lt;/h2&gt;
			&lt;p&gt;The JWT contains user&#39;s active bans with its expiry date. List of ban types can be obtained from /bans.&lt;/p&gt;
			&lt;br&gt;action code : 10704

func (*Client) PlatformTokenGrantV3Short added in v0.8.0

func (a *Client) PlatformTokenGrantV3Short(params *PlatformTokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenGrantV3OK, error)

func (*Client) RetrieveUserThirdPartyPlatformTokenV3 added in v0.2.0

RetrieveUserThirdPartyPlatformTokenV3 retrieves user third party platform token

Retrieve User Third Party Platform Token&lt;br/&gt;

&lt;p&gt; This endpoint used for retrieving third party platform token for user that login using third party. Passing platform group name or it&#39;s member will return same access token that can be used across the platform members. &lt;/p&gt; &lt;p&gt;The third party platform and platform group covered for this is:&lt;/p&gt; &lt;ul&gt;

&lt;li&gt;(psn) ps4web&lt;/li&gt;
&lt;li&gt;(psn) ps4&lt;/li&gt;
&lt;li&gt;(psn) ps5&lt;/li&gt;
&lt;li&gt;epicgames&lt;/li&gt;
&lt;li&gt;twitch&lt;/li&gt;
&lt;li&gt;awscognito&lt;/li&gt;

&lt;/ul&gt;

func (*Client) RetrieveUserThirdPartyPlatformTokenV3Short added in v0.8.0

func (a *Client) RetrieveUserThirdPartyPlatformTokenV3Short(params *RetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveUserThirdPartyPlatformTokenV3OK, error)

func (*Client) RevokeUserV3 added in v0.2.0

  RevokeUserV3 revokes user s tokens

  &lt;p&gt;This endpoint revokes all access tokens and refresh tokens a user has prior the revocation time.&lt;/p&gt;
			&lt;p&gt;This endpoint requires authorized requests header with valid access token.&lt;/p&gt;
			&lt;p&gt;Required permission &#39;ADMIN:NAMESPACE:{namespace}:USER:{userId} [UPDATE]&#39;&lt;/p&gt;
			&lt;p&gt;It is a convenient feature for the developer (or admin) who wanted to revokes all user&#39;s access tokens and refresh tokens generated before some period of time.&lt;/p&gt;
			&lt;p&gt;action code : 10707&lt;/p&gt;

func (*Client) RevokeUserV3Short added in v0.8.0

func (a *Client) RevokeUserV3Short(params *RevokeUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserV3OK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TokenGrantV3

  TokenGrantV3 os auth2 access token generation endpoint

  &lt;p&gt;This endpoint supports grant type:&lt;/p&gt;&lt;ol&gt;
	 		&lt;li&gt;Grant Type == &lt;code&gt;authorization_code&lt;/code&gt;:&lt;br /&gt;
				&amp;nbsp;&amp;nbsp;&amp;nbsp; It generates the user token by given the authorization
				code which generated in &#34;/v3/oauth/auth&#34; API response. It should also pass
				in the redirect_uri, which should be the same as generating the
				authorization code request.
			&lt;/li&gt;
			&lt;li&gt;Grant Type == &lt;code&gt;password&lt;/code&gt;:&lt;br /&gt;
	 			&amp;nbsp;&amp;nbsp;&amp;nbsp; The grant type to use for authenticating a user, whether it&#39;s by email / username and password combination
				or through platform.
			&lt;/li&gt;
			&lt;li&gt;Grant Type == &lt;code&gt;refresh_token&lt;/code&gt;:&lt;br /&gt;
	 			&amp;nbsp;&amp;nbsp;&amp;nbsp; Used to get a new access token for a valid refresh token.
			&lt;/li&gt;
			&lt;li&gt;Grant Type == &lt;code&gt;client_credentials&lt;/code&gt;:&lt;br /&gt;
	 			&amp;nbsp;&amp;nbsp;&amp;nbsp; It generates a token by checking the client credentials provided through Authorization header.
			&lt;/li&gt;&lt;/ol&gt;
			&lt;h2&gt;Access Token Content&lt;/h2&gt;
			&lt;p&gt;Following is the access token’s content:&lt;/p&gt;
			&lt;ul&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;namespace&lt;/strong&gt;. It is the namespace the token was generated from.&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;display_name&lt;/strong&gt;. The display name of the sub. It is empty if the token is generated from the client credential&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;roles&lt;/strong&gt;. The sub’s roles. It is empty if the token is generated from the client credential&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;namespace_roles&lt;/strong&gt;. The sub’s roles scoped to namespace. Improvement from roles, which make the role scoped to specific namespace instead of global to publisher namespace&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;permissions&lt;/strong&gt;. The sub or aud’ permissions&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;bans&lt;/strong&gt;. The sub’s list of bans. It is used by the IAM client for validating the token.&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;jflgs&lt;/strong&gt;. It stands for Justice Flags. It is a special flag used for storing additional status information regarding the sub. It is implemented as a bit mask. Following explains what each bit represents:&lt;/p&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;p&gt;1: Email Address Verified&lt;/p&gt;&lt;/li&gt;
				&lt;li&gt;&lt;p&gt;2: Phone Number Verified&lt;/p&gt;&lt;/li&gt;
				&lt;li&gt;&lt;p&gt;4: Anonymous&lt;/p&gt;&lt;/li&gt;
				&lt;li&gt;&lt;p&gt;8: Suspicious Login&lt;/p&gt;&lt;/li&gt;
			&lt;/ul&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;aud&lt;/strong&gt;. The aud is the targeted resource server.&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;iat&lt;/strong&gt;. The time the token issues at. It is in Epoch time format&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;exp&lt;/strong&gt;. The time the token expires. It is in Epoch time format&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;client_id&lt;/strong&gt;. The UserID. The sub is omitted if the token is generated from client credential&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;p&gt;&lt;strong&gt;scope&lt;/strong&gt;. The scope of the access request, expressed as a list of space-delimited, case-sensitive strings&lt;/p&gt;
			&lt;/li&gt;
			&lt;/ul&gt;
			&lt;h2&gt;Bans&lt;/h2&gt;
			&lt;p&gt;The JWT contains user&#39;s active bans with its expiry date. List of ban types can be obtained from /bans.&lt;/p&gt;
			&lt;h2&gt;Track Login History&lt;/h2&gt;
			&lt;p&gt;This endpoint will track login history to detect suspicious login activity, please provide &#34;device_id&#34; (alphanumeric) in request header parameter otherwise we will set to &#34;unknown&#34;.&lt;/p&gt;
			&lt;p&gt;Align with General Data Protection Regulation in Europe, user login history will be kept within 28 days by default&#34;&lt;/p&gt;
			&lt;p&gt;action code: 10703

func (*Client) TokenGrantV3Short added in v0.8.0

func (a *Client) TokenGrantV3Short(params *TokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenGrantV3OK, error)

func (*Client) TokenIntrospectionV3 added in v0.2.0

  TokenIntrospectionV3 os auth2 token introspection API

  &lt;p&gt;This endpoint returns information about an access token intended to be used by resource servers or other internal servers.&lt;/p&gt;
					 &lt;p&gt;This endpoint requires authorized requests header with valid basic or bearer token.&lt;/p&gt;
					 &lt;p&gt;action code : 10705&lt;/p&gt;

func (*Client) TokenIntrospectionV3Short added in v0.8.0

func (a *Client) TokenIntrospectionV3Short(params *TokenIntrospectionV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenIntrospectionV3OK, error)

func (*Client) TokenRevocationV3

  TokenRevocationV3 os auth2 token revocation API

  &lt;p&gt;This endpoint revokes a token.&lt;/p&gt;
					 &lt;p&gt;This endpoint requires authorized requests header with Basic Authentication from client that establish the token.&lt;/p&gt;&lt;br&gt;action code: 10706

func (*Client) TokenRevocationV3Short added in v0.8.0

func (a *Client) TokenRevocationV3Short(params *TokenRevocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenRevocationV3OK, error)

func (*Client) Verify2FACode added in v0.15.0

Verify2FACode verifies 2 f a code

Verify 2FA code&lt;br/&gt;

&lt;p&gt;This endpoint is used for verifying 2FA code.&lt;/p&gt;

func (*Client) Verify2FACodeShort added in v0.15.0

func (a *Client) Verify2FACodeShort(params *Verify2FACodeParams, authInfo runtime.ClientAuthInfoWriter) (*Verify2FACodeOK, error)

type ClientService

type ClientService interface {
	AdminRetrieveUserThirdPartyPlatformTokenV3(params *AdminRetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveUserThirdPartyPlatformTokenV3OK, *AdminRetrieveUserThirdPartyPlatformTokenV3Unauthorized, *AdminRetrieveUserThirdPartyPlatformTokenV3Forbidden, *AdminRetrieveUserThirdPartyPlatformTokenV3NotFound, error)
	AdminRetrieveUserThirdPartyPlatformTokenV3Short(params *AdminRetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminRetrieveUserThirdPartyPlatformTokenV3OK, error)
	AuthCodeRequestV3(params *AuthCodeRequestV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthCodeRequestV3Found, error)
	AuthCodeRequestV3Short(params *AuthCodeRequestV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthCodeRequestV3Found, error)
	AuthorizeV3(params *AuthorizeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthorizeV3Found, error)
	AuthorizeV3Short(params *AuthorizeV3Params, authInfo runtime.ClientAuthInfoWriter) (*AuthorizeV3Found, error)
	Change2FAMethod(params *Change2FAMethodParams, authInfo runtime.ClientAuthInfoWriter) (*Change2FAMethodNoContent, *Change2FAMethodBadRequest, error)
	Change2FAMethodShort(params *Change2FAMethodParams, authInfo runtime.ClientAuthInfoWriter) (*Change2FAMethodNoContent, error)
	GetJWKSV3(params *GetJWKSV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetJWKSV3OK, error)
	GetJWKSV3Short(params *GetJWKSV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetJWKSV3OK, error)
	GetRevocationListV3(params *GetRevocationListV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetRevocationListV3OK, *GetRevocationListV3Unauthorized, error)
	GetRevocationListV3Short(params *GetRevocationListV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetRevocationListV3OK, error)
	PlatformTokenGrantV3(params *PlatformTokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenGrantV3OK, *PlatformTokenGrantV3BadRequest, *PlatformTokenGrantV3Unauthorized, error)
	PlatformTokenGrantV3Short(params *PlatformTokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*PlatformTokenGrantV3OK, error)
	RetrieveUserThirdPartyPlatformTokenV3(params *RetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveUserThirdPartyPlatformTokenV3OK, *RetrieveUserThirdPartyPlatformTokenV3Unauthorized, *RetrieveUserThirdPartyPlatformTokenV3Forbidden, *RetrieveUserThirdPartyPlatformTokenV3NotFound, error)
	RetrieveUserThirdPartyPlatformTokenV3Short(params *RetrieveUserThirdPartyPlatformTokenV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetrieveUserThirdPartyPlatformTokenV3OK, error)
	RevokeUserV3(params *RevokeUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserV3OK, *RevokeUserV3BadRequest, *RevokeUserV3Unauthorized, *RevokeUserV3Forbidden, error)
	RevokeUserV3Short(params *RevokeUserV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserV3OK, error)
	TokenGrantV3(params *TokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenGrantV3OK, *TokenGrantV3BadRequest, *TokenGrantV3Unauthorized, *TokenGrantV3Forbidden, error)
	TokenGrantV3Short(params *TokenGrantV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenGrantV3OK, error)
	TokenIntrospectionV3(params *TokenIntrospectionV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenIntrospectionV3OK, *TokenIntrospectionV3BadRequest, *TokenIntrospectionV3Unauthorized, error)
	TokenIntrospectionV3Short(params *TokenIntrospectionV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenIntrospectionV3OK, error)
	TokenRevocationV3(params *TokenRevocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenRevocationV3OK, *TokenRevocationV3BadRequest, *TokenRevocationV3Unauthorized, error)
	TokenRevocationV3Short(params *TokenRevocationV3Params, authInfo runtime.ClientAuthInfoWriter) (*TokenRevocationV3OK, error)
	Verify2FACode(params *Verify2FACodeParams, authInfo runtime.ClientAuthInfoWriter) (*Verify2FACodeOK, *Verify2FACodeUnauthorized, error)
	Verify2FACodeShort(params *Verify2FACodeParams, authInfo runtime.ClientAuthInfoWriter) (*Verify2FACodeOK, 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 API client.

type GetJWKSV3OK added in v0.2.0

type GetJWKSV3OK struct {
	Payload *iamclientmodels.OauthcommonJWKSet
}

GetJWKSV3OK handles this case with default header values.

JWKS returned

func NewGetJWKSV3OK added in v0.2.0

func NewGetJWKSV3OK() *GetJWKSV3OK

NewGetJWKSV3OK creates a GetJWKSV3OK with default headers values

func (*GetJWKSV3OK) Error added in v0.2.0

func (o *GetJWKSV3OK) Error() string

func (*GetJWKSV3OK) GetPayload added in v0.2.0

type GetJWKSV3Params added in v0.2.0

type GetJWKSV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

GetJWKSV3Params contains all the parameters to send to the API endpoint for the get j w k s v3 operation typically these are written to a http.Request

func NewGetJWKSV3Params added in v0.2.0

func NewGetJWKSV3Params() *GetJWKSV3Params

NewGetJWKSV3Params creates a new GetJWKSV3Params object with the default values initialized.

func NewGetJWKSV3ParamsWithContext added in v0.2.0

func NewGetJWKSV3ParamsWithContext(ctx context.Context) *GetJWKSV3Params

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

func NewGetJWKSV3ParamsWithHTTPClient added in v0.2.0

func NewGetJWKSV3ParamsWithHTTPClient(client *http.Client) *GetJWKSV3Params

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

func NewGetJWKSV3ParamsWithTimeout added in v0.2.0

func NewGetJWKSV3ParamsWithTimeout(timeout time.Duration) *GetJWKSV3Params

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

func (*GetJWKSV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get j w k s v3 params

func (*GetJWKSV3Params) SetContext added in v0.2.0

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

SetContext adds the context to the get j w k s v3 params

func (*GetJWKSV3Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get j w k s v3 params

func (*GetJWKSV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get j w k s v3 params

func (*GetJWKSV3Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get j w k s v3 params

func (*GetJWKSV3Params) WithContext added in v0.2.0

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

WithContext adds the context to the get j w k s v3 params

func (*GetJWKSV3Params) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get j w k s v3 params

func (*GetJWKSV3Params) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the get j w k s v3 params

func (*GetJWKSV3Params) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type GetJWKSV3Reader added in v0.2.0

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

GetJWKSV3Reader is a Reader for the GetJWKSV3 structure.

func (*GetJWKSV3Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetRevocationListV3OK added in v0.2.0

type GetRevocationListV3OK struct {
	Payload *iamclientmodels.OauthapiRevocationList
}

GetRevocationListV3OK handles this case with default header values.

Revocation list returned

func NewGetRevocationListV3OK added in v0.2.0

func NewGetRevocationListV3OK() *GetRevocationListV3OK

NewGetRevocationListV3OK creates a GetRevocationListV3OK with default headers values

func (*GetRevocationListV3OK) Error added in v0.2.0

func (o *GetRevocationListV3OK) Error() string

func (*GetRevocationListV3OK) GetPayload added in v0.2.0

type GetRevocationListV3Params added in v0.2.0

type GetRevocationListV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

GetRevocationListV3Params contains all the parameters to send to the API endpoint for the get revocation list v3 operation typically these are written to a http.Request

func NewGetRevocationListV3Params added in v0.2.0

func NewGetRevocationListV3Params() *GetRevocationListV3Params

NewGetRevocationListV3Params creates a new GetRevocationListV3Params object with the default values initialized.

func NewGetRevocationListV3ParamsWithContext added in v0.2.0

func NewGetRevocationListV3ParamsWithContext(ctx context.Context) *GetRevocationListV3Params

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

func NewGetRevocationListV3ParamsWithHTTPClient added in v0.2.0

func NewGetRevocationListV3ParamsWithHTTPClient(client *http.Client) *GetRevocationListV3Params

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

func NewGetRevocationListV3ParamsWithTimeout added in v0.2.0

func NewGetRevocationListV3ParamsWithTimeout(timeout time.Duration) *GetRevocationListV3Params

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

func (*GetRevocationListV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get revocation list v3 params

func (*GetRevocationListV3Params) SetContext added in v0.2.0

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

SetContext adds the context to the get revocation list v3 params

func (*GetRevocationListV3Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get revocation list v3 params

func (*GetRevocationListV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get revocation list v3 params

func (*GetRevocationListV3Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get revocation list v3 params

func (*GetRevocationListV3Params) WithContext added in v0.2.0

WithContext adds the context to the get revocation list v3 params

func (*GetRevocationListV3Params) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get revocation list v3 params

func (*GetRevocationListV3Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get revocation list v3 params

func (*GetRevocationListV3Params) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type GetRevocationListV3Reader added in v0.2.0

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

GetRevocationListV3Reader is a Reader for the GetRevocationListV3 structure.

func (*GetRevocationListV3Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetRevocationListV3Unauthorized added in v0.2.0

type GetRevocationListV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

GetRevocationListV3Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetRevocationListV3Unauthorized added in v0.2.0

func NewGetRevocationListV3Unauthorized() *GetRevocationListV3Unauthorized

NewGetRevocationListV3Unauthorized creates a GetRevocationListV3Unauthorized with default headers values

func (*GetRevocationListV3Unauthorized) Error added in v0.2.0

func (*GetRevocationListV3Unauthorized) GetPayload added in v0.2.0

type PlatformTokenGrantV3BadRequest added in v0.2.0

type PlatformTokenGrantV3BadRequest struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

PlatformTokenGrantV3BadRequest handles this case with default header values.

General request error

func NewPlatformTokenGrantV3BadRequest added in v0.2.0

func NewPlatformTokenGrantV3BadRequest() *PlatformTokenGrantV3BadRequest

NewPlatformTokenGrantV3BadRequest creates a PlatformTokenGrantV3BadRequest with default headers values

func (*PlatformTokenGrantV3BadRequest) Error added in v0.2.0

func (*PlatformTokenGrantV3BadRequest) GetPayload added in v0.2.0

type PlatformTokenGrantV3OK added in v0.2.0

type PlatformTokenGrantV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponse
}

PlatformTokenGrantV3OK handles this case with default header values.

Token returned

func NewPlatformTokenGrantV3OK added in v0.2.0

func NewPlatformTokenGrantV3OK() *PlatformTokenGrantV3OK

NewPlatformTokenGrantV3OK creates a PlatformTokenGrantV3OK with default headers values

func (*PlatformTokenGrantV3OK) Error added in v0.2.0

func (o *PlatformTokenGrantV3OK) Error() string

func (*PlatformTokenGrantV3OK) GetPayload added in v0.2.0

type PlatformTokenGrantV3Params added in v0.2.0

type PlatformTokenGrantV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ClientID
	  Client ID, only accept UUID version 4 without hyphen

	*/
	ClientID *string
	/*CreateHeadless
	  If directly create new account when not linked yet

	*/
	CreateHeadless *bool
	/*DeviceID
	  Device/hardware identifier

	*/
	DeviceID *string
	/*PlatformID
	  Platform ID to login with

	*/
	PlatformID string
	/*PlatformToken
	  Token from platform auth

	*/
	PlatformToken *string

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

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

func NewPlatformTokenGrantV3Params added in v0.2.0

func NewPlatformTokenGrantV3Params() *PlatformTokenGrantV3Params

NewPlatformTokenGrantV3Params creates a new PlatformTokenGrantV3Params object with the default values initialized.

func NewPlatformTokenGrantV3ParamsWithContext added in v0.2.0

func NewPlatformTokenGrantV3ParamsWithContext(ctx context.Context) *PlatformTokenGrantV3Params

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

func NewPlatformTokenGrantV3ParamsWithHTTPClient added in v0.2.0

func NewPlatformTokenGrantV3ParamsWithHTTPClient(client *http.Client) *PlatformTokenGrantV3Params

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

func NewPlatformTokenGrantV3ParamsWithTimeout added in v0.2.0

func NewPlatformTokenGrantV3ParamsWithTimeout(timeout time.Duration) *PlatformTokenGrantV3Params

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

func (*PlatformTokenGrantV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetClientID added in v0.2.0

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

SetClientID adds the clientId to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetContext added in v0.2.0

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

SetContext adds the context to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetCreateHeadless added in v0.20.0

func (o *PlatformTokenGrantV3Params) SetCreateHeadless(createHeadless *bool)

SetCreateHeadless adds the createHeadless to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetDeviceID added in v0.2.0

func (o *PlatformTokenGrantV3Params) SetDeviceID(deviceID *string)

SetDeviceID adds the deviceId to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*PlatformTokenGrantV3Params) SetPlatformID added in v0.2.0

func (o *PlatformTokenGrantV3Params) SetPlatformID(platformID string)

SetPlatformID adds the platformId to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetPlatformToken added in v0.2.0

func (o *PlatformTokenGrantV3Params) SetPlatformToken(platformToken *string)

SetPlatformToken adds the platformToken to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithClientID added in v0.2.0

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

WithClientID adds the clientID to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithContext added in v0.2.0

WithContext adds the context to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithCreateHeadless added in v0.20.0

func (o *PlatformTokenGrantV3Params) WithCreateHeadless(createHeadless *bool) *PlatformTokenGrantV3Params

WithCreateHeadless adds the createHeadless to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithDeviceID added in v0.2.0

func (o *PlatformTokenGrantV3Params) WithDeviceID(deviceID *string) *PlatformTokenGrantV3Params

WithDeviceID adds the deviceID to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithPlatformID added in v0.2.0

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

WithPlatformID adds the platformID to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithPlatformToken added in v0.2.0

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

WithPlatformToken adds the platformToken to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the platform token grant v3 params

func (*PlatformTokenGrantV3Params) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type PlatformTokenGrantV3Reader added in v0.2.0

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

PlatformTokenGrantV3Reader is a Reader for the PlatformTokenGrantV3 structure.

func (*PlatformTokenGrantV3Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type PlatformTokenGrantV3Unauthorized added in v0.2.0

type PlatformTokenGrantV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

PlatformTokenGrantV3Unauthorized handles this case with default header values.

Client authentication failed

func NewPlatformTokenGrantV3Unauthorized added in v0.2.0

func NewPlatformTokenGrantV3Unauthorized() *PlatformTokenGrantV3Unauthorized

NewPlatformTokenGrantV3Unauthorized creates a PlatformTokenGrantV3Unauthorized with default headers values

func (*PlatformTokenGrantV3Unauthorized) Error added in v0.2.0

func (*PlatformTokenGrantV3Unauthorized) GetPayload added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3Forbidden added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3Forbidden struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

RetrieveUserThirdPartyPlatformTokenV3Forbidden handles this case with default header values.

Unauthorized access

func NewRetrieveUserThirdPartyPlatformTokenV3Forbidden added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3Forbidden() *RetrieveUserThirdPartyPlatformTokenV3Forbidden

NewRetrieveUserThirdPartyPlatformTokenV3Forbidden creates a RetrieveUserThirdPartyPlatformTokenV3Forbidden with default headers values

func (*RetrieveUserThirdPartyPlatformTokenV3Forbidden) Error added in v0.2.0

func (*RetrieveUserThirdPartyPlatformTokenV3Forbidden) GetPayload added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3NotFound added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3NotFound struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

RetrieveUserThirdPartyPlatformTokenV3NotFound handles this case with default header values.

Platform Token Not Found

func NewRetrieveUserThirdPartyPlatformTokenV3NotFound added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3NotFound() *RetrieveUserThirdPartyPlatformTokenV3NotFound

NewRetrieveUserThirdPartyPlatformTokenV3NotFound creates a RetrieveUserThirdPartyPlatformTokenV3NotFound with default headers values

func (*RetrieveUserThirdPartyPlatformTokenV3NotFound) Error added in v0.2.0

func (*RetrieveUserThirdPartyPlatformTokenV3NotFound) GetPayload added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3OK added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenThirdPartyResponse
}

RetrieveUserThirdPartyPlatformTokenV3OK handles this case with default header values.

Token returned

func NewRetrieveUserThirdPartyPlatformTokenV3OK added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3OK() *RetrieveUserThirdPartyPlatformTokenV3OK

NewRetrieveUserThirdPartyPlatformTokenV3OK creates a RetrieveUserThirdPartyPlatformTokenV3OK with default headers values

func (*RetrieveUserThirdPartyPlatformTokenV3OK) Error added in v0.2.0

func (*RetrieveUserThirdPartyPlatformTokenV3OK) GetPayload added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3Params added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*PlatformID
	  Platform ID

	*/
	PlatformID string
	/*UserID
	  UserId

	*/
	UserID string

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

RetrieveUserThirdPartyPlatformTokenV3Params contains all the parameters to send to the API endpoint for the retrieve user third party platform token v3 operation typically these are written to a http.Request

func NewRetrieveUserThirdPartyPlatformTokenV3Params added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3Params() *RetrieveUserThirdPartyPlatformTokenV3Params

NewRetrieveUserThirdPartyPlatformTokenV3Params creates a new RetrieveUserThirdPartyPlatformTokenV3Params object with the default values initialized.

func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithContext(ctx context.Context) *RetrieveUserThirdPartyPlatformTokenV3Params

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

func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithHTTPClient(client *http.Client) *RetrieveUserThirdPartyPlatformTokenV3Params

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

func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3ParamsWithTimeout(timeout time.Duration) *RetrieveUserThirdPartyPlatformTokenV3Params

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

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetContext added in v0.2.0

SetContext adds the context to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetNamespace added in v0.2.0

func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetPlatformID added in v0.2.0

func (o *RetrieveUserThirdPartyPlatformTokenV3Params) SetPlatformID(platformID string)

SetPlatformID adds the platformId to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetTimeout added in v0.2.0

SetTimeout adds the timeout to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) SetUserID added in v0.2.0

SetUserID adds the userId to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithContext added in v0.2.0

WithContext adds the context to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithNamespace added in v0.2.0

WithNamespace adds the namespace to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithPlatformID added in v0.2.0

WithPlatformID adds the platformID to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) WithUserID added in v0.2.0

WithUserID adds the userID to the retrieve user third party platform token v3 params

func (*RetrieveUserThirdPartyPlatformTokenV3Params) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type RetrieveUserThirdPartyPlatformTokenV3Reader added in v0.2.0

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

RetrieveUserThirdPartyPlatformTokenV3Reader is a Reader for the RetrieveUserThirdPartyPlatformTokenV3 structure.

func (*RetrieveUserThirdPartyPlatformTokenV3Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type RetrieveUserThirdPartyPlatformTokenV3Unauthorized added in v0.2.0

type RetrieveUserThirdPartyPlatformTokenV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

RetrieveUserThirdPartyPlatformTokenV3Unauthorized handles this case with default header values.

Client authentication failed

func NewRetrieveUserThirdPartyPlatformTokenV3Unauthorized added in v0.2.0

func NewRetrieveUserThirdPartyPlatformTokenV3Unauthorized() *RetrieveUserThirdPartyPlatformTokenV3Unauthorized

NewRetrieveUserThirdPartyPlatformTokenV3Unauthorized creates a RetrieveUserThirdPartyPlatformTokenV3Unauthorized with default headers values

func (*RetrieveUserThirdPartyPlatformTokenV3Unauthorized) Error added in v0.2.0

func (*RetrieveUserThirdPartyPlatformTokenV3Unauthorized) GetPayload added in v0.2.0

type RevokeUserV3BadRequest added in v0.2.0

type RevokeUserV3BadRequest struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

RevokeUserV3BadRequest handles this case with default header values.

invalid input

func NewRevokeUserV3BadRequest added in v0.2.0

func NewRevokeUserV3BadRequest() *RevokeUserV3BadRequest

NewRevokeUserV3BadRequest creates a RevokeUserV3BadRequest with default headers values

func (*RevokeUserV3BadRequest) Error added in v0.2.0

func (o *RevokeUserV3BadRequest) Error() string

func (*RevokeUserV3BadRequest) GetPayload added in v0.2.0

type RevokeUserV3Forbidden added in v0.2.0

type RevokeUserV3Forbidden struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

RevokeUserV3Forbidden handles this case with default header values.

insufficient permission

func NewRevokeUserV3Forbidden added in v0.2.0

func NewRevokeUserV3Forbidden() *RevokeUserV3Forbidden

NewRevokeUserV3Forbidden creates a RevokeUserV3Forbidden with default headers values

func (*RevokeUserV3Forbidden) Error added in v0.2.0

func (o *RevokeUserV3Forbidden) Error() string

func (*RevokeUserV3Forbidden) GetPayload added in v0.2.0

type RevokeUserV3OK added in v0.2.0

type RevokeUserV3OK struct {
}

RevokeUserV3OK handles this case with default header values.

user revoked

func NewRevokeUserV3OK added in v0.2.0

func NewRevokeUserV3OK() *RevokeUserV3OK

NewRevokeUserV3OK creates a RevokeUserV3OK with default headers values

func (*RevokeUserV3OK) Error added in v0.2.0

func (o *RevokeUserV3OK) Error() string

type RevokeUserV3Params added in v0.2.0

type RevokeUserV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  User to be revoked

	*/
	UserID string

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

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

func NewRevokeUserV3Params added in v0.2.0

func NewRevokeUserV3Params() *RevokeUserV3Params

NewRevokeUserV3Params creates a new RevokeUserV3Params object with the default values initialized.

func NewRevokeUserV3ParamsWithContext added in v0.2.0

func NewRevokeUserV3ParamsWithContext(ctx context.Context) *RevokeUserV3Params

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

func NewRevokeUserV3ParamsWithHTTPClient added in v0.2.0

func NewRevokeUserV3ParamsWithHTTPClient(client *http.Client) *RevokeUserV3Params

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

func NewRevokeUserV3ParamsWithTimeout added in v0.2.0

func NewRevokeUserV3ParamsWithTimeout(timeout time.Duration) *RevokeUserV3Params

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

func (*RevokeUserV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the revoke user v3 params

func (*RevokeUserV3Params) SetContext added in v0.2.0

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

SetContext adds the context to the revoke user v3 params

func (*RevokeUserV3Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the revoke user v3 params

func (*RevokeUserV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the revoke user v3 params

func (*RevokeUserV3Params) SetNamespace added in v0.2.0

func (o *RevokeUserV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user v3 params

func (*RevokeUserV3Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the revoke user v3 params

func (*RevokeUserV3Params) SetUserID added in v0.2.0

func (o *RevokeUserV3Params) SetUserID(userID string)

SetUserID adds the userId to the revoke user v3 params

func (*RevokeUserV3Params) WithContext added in v0.2.0

WithContext adds the context to the revoke user v3 params

func (*RevokeUserV3Params) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the revoke user v3 params

func (*RevokeUserV3Params) WithNamespace added in v0.2.0

func (o *RevokeUserV3Params) WithNamespace(namespace string) *RevokeUserV3Params

WithNamespace adds the namespace to the revoke user v3 params

func (*RevokeUserV3Params) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the revoke user v3 params

func (*RevokeUserV3Params) WithUserID added in v0.2.0

func (o *RevokeUserV3Params) WithUserID(userID string) *RevokeUserV3Params

WithUserID adds the userID to the revoke user v3 params

func (*RevokeUserV3Params) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type RevokeUserV3Reader added in v0.2.0

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

RevokeUserV3Reader is a Reader for the RevokeUserV3 structure.

func (*RevokeUserV3Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type RevokeUserV3Unauthorized added in v0.2.0

type RevokeUserV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

RevokeUserV3Unauthorized handles this case with default header values.

Token is not exist, expired, or invalid

func NewRevokeUserV3Unauthorized added in v0.2.0

func NewRevokeUserV3Unauthorized() *RevokeUserV3Unauthorized

NewRevokeUserV3Unauthorized creates a RevokeUserV3Unauthorized with default headers values

func (*RevokeUserV3Unauthorized) Error added in v0.2.0

func (o *RevokeUserV3Unauthorized) Error() string

func (*RevokeUserV3Unauthorized) GetPayload added in v0.2.0

type TokenGrantV3BadRequest

type TokenGrantV3BadRequest struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

TokenGrantV3BadRequest handles this case with default header values.

InvalidRequest

func NewTokenGrantV3BadRequest

func NewTokenGrantV3BadRequest() *TokenGrantV3BadRequest

NewTokenGrantV3BadRequest creates a TokenGrantV3BadRequest with default headers values

func (*TokenGrantV3BadRequest) Error

func (o *TokenGrantV3BadRequest) Error() string

func (*TokenGrantV3BadRequest) GetPayload

type TokenGrantV3Forbidden

type TokenGrantV3Forbidden struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

TokenGrantV3Forbidden handles this case with default header values.

Unauthorized access

func NewTokenGrantV3Forbidden

func NewTokenGrantV3Forbidden() *TokenGrantV3Forbidden

NewTokenGrantV3Forbidden creates a TokenGrantV3Forbidden with default headers values

func (*TokenGrantV3Forbidden) Error

func (o *TokenGrantV3Forbidden) Error() string

func (*TokenGrantV3Forbidden) GetPayload

type TokenGrantV3OK

type TokenGrantV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

TokenGrantV3OK handles this case with default header values.

Token returned

func NewTokenGrantV3OK

func NewTokenGrantV3OK() *TokenGrantV3OK

NewTokenGrantV3OK creates a TokenGrantV3OK with default headers values

func (*TokenGrantV3OK) Error

func (o *TokenGrantV3OK) Error() string

func (*TokenGrantV3OK) GetPayload

type TokenGrantV3Params

type TokenGrantV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ClientID
	  client_id (used with grant type 'authorization_code')

	*/
	ClientID *string
	/*Code
	  The authorization code received from the authorization server (used with grant type 'authorization_code')

	*/
	Code *string
	/*CodeVerifier
	  Code verifier received from the authorization server

	*/
	CodeVerifier *string
	/*DeviceID
	  DeviceID (Used on grant type 'password' to track login history) ex. 90252d14544846d79f367148e3f9a3d9

	*/
	DeviceID *string
	/*ExtendExp
	  Extend expiration date of refresh token. Only available for grant type 'password'

	*/
	ExtendExp *bool
	/*GrantType
	  Grant Type

	*/
	GrantType string
	/*Password
	  Password (used with grant type 'password'

	*/
	Password *string
	/*RedirectURI
	  Redirect URI (used with grant type 'authorization_code')

	*/
	RedirectURI *string
	/*RefreshToken
	  Refresh Token (used with grant type 'refresh_token'). This field is optional if the request header provides the "refresh_token" cookie

	*/
	RefreshToken *string
	/*Username
	  User Name (used with grant type 'password'

	*/
	Username *string

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

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

func NewTokenGrantV3Params

func NewTokenGrantV3Params() *TokenGrantV3Params

NewTokenGrantV3Params creates a new TokenGrantV3Params object with the default values initialized.

func NewTokenGrantV3ParamsWithContext

func NewTokenGrantV3ParamsWithContext(ctx context.Context) *TokenGrantV3Params

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

func NewTokenGrantV3ParamsWithHTTPClient

func NewTokenGrantV3ParamsWithHTTPClient(client *http.Client) *TokenGrantV3Params

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

func NewTokenGrantV3ParamsWithTimeout

func NewTokenGrantV3ParamsWithTimeout(timeout time.Duration) *TokenGrantV3Params

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

func (*TokenGrantV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the token grant v3 params

func (*TokenGrantV3Params) SetClientID

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

SetClientID adds the clientId to the token grant v3 params

func (*TokenGrantV3Params) SetCode

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

SetCode adds the code to the token grant v3 params

func (*TokenGrantV3Params) SetCodeVerifier

func (o *TokenGrantV3Params) SetCodeVerifier(codeVerifier *string)

SetCodeVerifier adds the codeVerifier to the token grant v3 params

func (*TokenGrantV3Params) SetContext

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

SetContext adds the context to the token grant v3 params

func (*TokenGrantV3Params) SetDeviceID

func (o *TokenGrantV3Params) SetDeviceID(deviceID *string)

SetDeviceID adds the deviceId to the token grant v3 params

func (*TokenGrantV3Params) SetExtendExp added in v0.12.0

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

SetExtendExp adds the extendExp to the token grant v3 params

func (*TokenGrantV3Params) SetGrantType

func (o *TokenGrantV3Params) SetGrantType(grantType string)

SetGrantType adds the grantType to the token grant v3 params

func (*TokenGrantV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the token grant v3 params

func (*TokenGrantV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the token grant v3 params

func (*TokenGrantV3Params) SetPassword added in v0.12.0

func (o *TokenGrantV3Params) SetPassword(password *string)

SetPassword adds the password to the token grant v3 params

func (*TokenGrantV3Params) SetRedirectURI

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

SetRedirectURI adds the redirectUri to the token grant v3 params

func (*TokenGrantV3Params) SetRefreshToken

func (o *TokenGrantV3Params) SetRefreshToken(refreshToken *string)

SetRefreshToken adds the refreshToken to the token grant v3 params

func (*TokenGrantV3Params) SetTimeout

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

SetTimeout adds the timeout to the token grant v3 params

func (*TokenGrantV3Params) SetUsername added in v0.12.0

func (o *TokenGrantV3Params) SetUsername(username *string)

SetUsername adds the username to the token grant v3 params

func (*TokenGrantV3Params) WithClientID

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

WithClientID adds the clientID to the token grant v3 params

func (*TokenGrantV3Params) WithCode

func (o *TokenGrantV3Params) WithCode(code *string) *TokenGrantV3Params

WithCode adds the code to the token grant v3 params

func (*TokenGrantV3Params) WithCodeVerifier

func (o *TokenGrantV3Params) WithCodeVerifier(codeVerifier *string) *TokenGrantV3Params

WithCodeVerifier adds the codeVerifier to the token grant v3 params

func (*TokenGrantV3Params) WithContext

WithContext adds the context to the token grant v3 params

func (*TokenGrantV3Params) WithDeviceID

func (o *TokenGrantV3Params) WithDeviceID(deviceID *string) *TokenGrantV3Params

WithDeviceID adds the deviceID to the token grant v3 params

func (*TokenGrantV3Params) WithExtendExp added in v0.12.0

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

WithExtendExp adds the extendExp to the token grant v3 params

func (*TokenGrantV3Params) WithGrantType

func (o *TokenGrantV3Params) WithGrantType(grantType string) *TokenGrantV3Params

WithGrantType adds the grantType to the token grant v3 params

func (*TokenGrantV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the token grant v3 params

func (*TokenGrantV3Params) WithPassword added in v0.12.0

func (o *TokenGrantV3Params) WithPassword(password *string) *TokenGrantV3Params

WithPassword adds the password to the token grant v3 params

func (*TokenGrantV3Params) WithRedirectURI

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

WithRedirectURI adds the redirectURI to the token grant v3 params

func (*TokenGrantV3Params) WithRefreshToken

func (o *TokenGrantV3Params) WithRefreshToken(refreshToken *string) *TokenGrantV3Params

WithRefreshToken adds the refreshToken to the token grant v3 params

func (*TokenGrantV3Params) WithTimeout

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

WithTimeout adds the timeout to the token grant v3 params

func (*TokenGrantV3Params) WithUsername added in v0.12.0

func (o *TokenGrantV3Params) WithUsername(username *string) *TokenGrantV3Params

WithUsername adds the username to the token grant v3 params

func (*TokenGrantV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TokenGrantV3Reader

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

TokenGrantV3Reader is a Reader for the TokenGrantV3 structure.

func (*TokenGrantV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TokenGrantV3Unauthorized

type TokenGrantV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

TokenGrantV3Unauthorized handles this case with default header values.

Client authentication failed

func NewTokenGrantV3Unauthorized

func NewTokenGrantV3Unauthorized() *TokenGrantV3Unauthorized

NewTokenGrantV3Unauthorized creates a TokenGrantV3Unauthorized with default headers values

func (*TokenGrantV3Unauthorized) Error

func (o *TokenGrantV3Unauthorized) Error() string

func (*TokenGrantV3Unauthorized) GetPayload

type TokenIntrospectionV3BadRequest added in v0.2.0

type TokenIntrospectionV3BadRequest struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

TokenIntrospectionV3BadRequest handles this case with default header values.

invalid input

func NewTokenIntrospectionV3BadRequest added in v0.2.0

func NewTokenIntrospectionV3BadRequest() *TokenIntrospectionV3BadRequest

NewTokenIntrospectionV3BadRequest creates a TokenIntrospectionV3BadRequest with default headers values

func (*TokenIntrospectionV3BadRequest) Error added in v0.2.0

func (*TokenIntrospectionV3BadRequest) GetPayload added in v0.2.0

type TokenIntrospectionV3OK added in v0.2.0

type TokenIntrospectionV3OK struct {
	Payload *iamclientmodels.OauthmodelTokenIntrospectResponse
}

TokenIntrospectionV3OK handles this case with default header values.

OK

func NewTokenIntrospectionV3OK added in v0.2.0

func NewTokenIntrospectionV3OK() *TokenIntrospectionV3OK

NewTokenIntrospectionV3OK creates a TokenIntrospectionV3OK with default headers values

func (*TokenIntrospectionV3OK) Error added in v0.2.0

func (o *TokenIntrospectionV3OK) Error() string

func (*TokenIntrospectionV3OK) GetPayload added in v0.2.0

type TokenIntrospectionV3Params added in v0.2.0

type TokenIntrospectionV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Token
	  Access Token / Refresh Token

	*/
	Token string

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

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

func NewTokenIntrospectionV3Params added in v0.2.0

func NewTokenIntrospectionV3Params() *TokenIntrospectionV3Params

NewTokenIntrospectionV3Params creates a new TokenIntrospectionV3Params object with the default values initialized.

func NewTokenIntrospectionV3ParamsWithContext added in v0.2.0

func NewTokenIntrospectionV3ParamsWithContext(ctx context.Context) *TokenIntrospectionV3Params

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

func NewTokenIntrospectionV3ParamsWithHTTPClient added in v0.2.0

func NewTokenIntrospectionV3ParamsWithHTTPClient(client *http.Client) *TokenIntrospectionV3Params

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

func NewTokenIntrospectionV3ParamsWithTimeout added in v0.2.0

func NewTokenIntrospectionV3ParamsWithTimeout(timeout time.Duration) *TokenIntrospectionV3Params

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

func (*TokenIntrospectionV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the token introspection v3 params

func (*TokenIntrospectionV3Params) SetContext added in v0.2.0

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

SetContext adds the context to the token introspection v3 params

func (*TokenIntrospectionV3Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the token introspection v3 params

func (*TokenIntrospectionV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the token introspection v3 params

func (*TokenIntrospectionV3Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the token introspection v3 params

func (*TokenIntrospectionV3Params) SetToken added in v0.2.0

func (o *TokenIntrospectionV3Params) SetToken(token string)

SetToken adds the token to the token introspection v3 params

func (*TokenIntrospectionV3Params) WithContext added in v0.2.0

WithContext adds the context to the token introspection v3 params

func (*TokenIntrospectionV3Params) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the token introspection v3 params

func (*TokenIntrospectionV3Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the token introspection v3 params

func (*TokenIntrospectionV3Params) WithToken added in v0.2.0

WithToken adds the token to the token introspection v3 params

func (*TokenIntrospectionV3Params) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type TokenIntrospectionV3Reader added in v0.2.0

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

TokenIntrospectionV3Reader is a Reader for the TokenIntrospectionV3 structure.

func (*TokenIntrospectionV3Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type TokenIntrospectionV3Unauthorized added in v0.2.0

type TokenIntrospectionV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

TokenIntrospectionV3Unauthorized handles this case with default header values.

invalid bearer or basic authorization header

func NewTokenIntrospectionV3Unauthorized added in v0.2.0

func NewTokenIntrospectionV3Unauthorized() *TokenIntrospectionV3Unauthorized

NewTokenIntrospectionV3Unauthorized creates a TokenIntrospectionV3Unauthorized with default headers values

func (*TokenIntrospectionV3Unauthorized) Error added in v0.2.0

func (*TokenIntrospectionV3Unauthorized) GetPayload added in v0.2.0

type TokenRevocationV3BadRequest

type TokenRevocationV3BadRequest struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

TokenRevocationV3BadRequest handles this case with default header values.

Invalid input

func NewTokenRevocationV3BadRequest

func NewTokenRevocationV3BadRequest() *TokenRevocationV3BadRequest

NewTokenRevocationV3BadRequest creates a TokenRevocationV3BadRequest with default headers values

func (*TokenRevocationV3BadRequest) Error

func (*TokenRevocationV3BadRequest) GetPayload

type TokenRevocationV3OK

type TokenRevocationV3OK struct {
}

TokenRevocationV3OK handles this case with default header values.

Token revoked or does not exist

func NewTokenRevocationV3OK

func NewTokenRevocationV3OK() *TokenRevocationV3OK

NewTokenRevocationV3OK creates a TokenRevocationV3OK with default headers values

func (*TokenRevocationV3OK) Error

func (o *TokenRevocationV3OK) Error() string

type TokenRevocationV3Params

type TokenRevocationV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Token
	  Access token / Refresh token

	*/
	Token string

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

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

func NewTokenRevocationV3Params

func NewTokenRevocationV3Params() *TokenRevocationV3Params

NewTokenRevocationV3Params creates a new TokenRevocationV3Params object with the default values initialized.

func NewTokenRevocationV3ParamsWithContext

func NewTokenRevocationV3ParamsWithContext(ctx context.Context) *TokenRevocationV3Params

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

func NewTokenRevocationV3ParamsWithHTTPClient

func NewTokenRevocationV3ParamsWithHTTPClient(client *http.Client) *TokenRevocationV3Params

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

func NewTokenRevocationV3ParamsWithTimeout

func NewTokenRevocationV3ParamsWithTimeout(timeout time.Duration) *TokenRevocationV3Params

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

func (*TokenRevocationV3Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the token revocation v3 params

func (*TokenRevocationV3Params) SetContext

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

SetContext adds the context to the token revocation v3 params

func (*TokenRevocationV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the token revocation v3 params

func (*TokenRevocationV3Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the token revocation v3 params

func (*TokenRevocationV3Params) SetTimeout

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

SetTimeout adds the timeout to the token revocation v3 params

func (*TokenRevocationV3Params) SetToken

func (o *TokenRevocationV3Params) SetToken(token string)

SetToken adds the token to the token revocation v3 params

func (*TokenRevocationV3Params) WithContext

WithContext adds the context to the token revocation v3 params

func (*TokenRevocationV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the token revocation v3 params

func (*TokenRevocationV3Params) WithTimeout

WithTimeout adds the timeout to the token revocation v3 params

func (*TokenRevocationV3Params) WithToken

WithToken adds the token to the token revocation v3 params

func (*TokenRevocationV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type TokenRevocationV3Reader

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

TokenRevocationV3Reader is a Reader for the TokenRevocationV3 structure.

func (*TokenRevocationV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TokenRevocationV3Unauthorized

type TokenRevocationV3Unauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

TokenRevocationV3Unauthorized handles this case with default header values.

Invalid basic auth header

func NewTokenRevocationV3Unauthorized

func NewTokenRevocationV3Unauthorized() *TokenRevocationV3Unauthorized

NewTokenRevocationV3Unauthorized creates a TokenRevocationV3Unauthorized with default headers values

func (*TokenRevocationV3Unauthorized) Error

func (*TokenRevocationV3Unauthorized) GetPayload

type Verify2FACodeOK added in v0.15.0

type Verify2FACodeOK struct {
	Payload *iamclientmodels.OauthmodelTokenResponseV3
}

Verify2FACodeOK handles this case with default header values.

Token returned

func NewVerify2FACodeOK added in v0.15.0

func NewVerify2FACodeOK() *Verify2FACodeOK

NewVerify2FACodeOK creates a Verify2FACodeOK with default headers values

func (*Verify2FACodeOK) Error added in v0.15.0

func (o *Verify2FACodeOK) Error() string

func (*Verify2FACodeOK) GetPayload added in v0.15.0

type Verify2FACodeParams added in v0.15.0

type Verify2FACodeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Code
	  code

	*/
	Code string
	/*Factor
	  factor

	*/
	Factor string
	/*MfaToken
	  mfa token

	*/
	MfaToken string
	/*RememberDevice
	  remember device

	*/
	RememberDevice bool

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

Verify2FACodeParams contains all the parameters to send to the API endpoint for the verify2 f a code operation typically these are written to a http.Request

func NewVerify2FACodeParams added in v0.15.0

func NewVerify2FACodeParams() *Verify2FACodeParams

NewVerify2FACodeParams creates a new Verify2FACodeParams object with the default values initialized.

func NewVerify2FACodeParamsWithContext added in v0.15.0

func NewVerify2FACodeParamsWithContext(ctx context.Context) *Verify2FACodeParams

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

func NewVerify2FACodeParamsWithHTTPClient added in v0.15.0

func NewVerify2FACodeParamsWithHTTPClient(client *http.Client) *Verify2FACodeParams

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

func NewVerify2FACodeParamsWithTimeout added in v0.15.0

func NewVerify2FACodeParamsWithTimeout(timeout time.Duration) *Verify2FACodeParams

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

func (*Verify2FACodeParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the verify2 f a code params

func (*Verify2FACodeParams) SetCode added in v0.15.0

func (o *Verify2FACodeParams) SetCode(code string)

SetCode adds the code to the verify2 f a code params

func (*Verify2FACodeParams) SetContext added in v0.15.0

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

SetContext adds the context to the verify2 f a code params

func (*Verify2FACodeParams) SetFactor added in v0.15.0

func (o *Verify2FACodeParams) SetFactor(factor string)

SetFactor adds the factor to the verify2 f a code params

func (*Verify2FACodeParams) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the verify2 f a code params

func (*Verify2FACodeParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the verify2 f a code params

func (*Verify2FACodeParams) SetMfaToken added in v0.15.0

func (o *Verify2FACodeParams) SetMfaToken(mfaToken string)

SetMfaToken adds the mfaToken to the verify2 f a code params

func (*Verify2FACodeParams) SetRememberDevice added in v0.15.0

func (o *Verify2FACodeParams) SetRememberDevice(rememberDevice bool)

SetRememberDevice adds the rememberDevice to the verify2 f a code params

func (*Verify2FACodeParams) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the verify2 f a code params

func (*Verify2FACodeParams) WithCode added in v0.15.0

func (o *Verify2FACodeParams) WithCode(code string) *Verify2FACodeParams

WithCode adds the code to the verify2 f a code params

func (*Verify2FACodeParams) WithContext added in v0.15.0

WithContext adds the context to the verify2 f a code params

func (*Verify2FACodeParams) WithFactor added in v0.15.0

func (o *Verify2FACodeParams) WithFactor(factor string) *Verify2FACodeParams

WithFactor adds the factor to the verify2 f a code params

func (*Verify2FACodeParams) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the verify2 f a code params

func (*Verify2FACodeParams) WithMfaToken added in v0.15.0

func (o *Verify2FACodeParams) WithMfaToken(mfaToken string) *Verify2FACodeParams

WithMfaToken adds the mfaToken to the verify2 f a code params

func (*Verify2FACodeParams) WithRememberDevice added in v0.15.0

func (o *Verify2FACodeParams) WithRememberDevice(rememberDevice bool) *Verify2FACodeParams

WithRememberDevice adds the rememberDevice to the verify2 f a code params

func (*Verify2FACodeParams) WithTimeout added in v0.15.0

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

WithTimeout adds the timeout to the verify2 f a code params

func (*Verify2FACodeParams) WriteToRequest added in v0.15.0

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

WriteToRequest writes these params to a swagger request

type Verify2FACodeReader added in v0.15.0

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

Verify2FACodeReader is a Reader for the Verify2FACode structure.

func (*Verify2FACodeReader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type Verify2FACodeUnauthorized added in v0.15.0

type Verify2FACodeUnauthorized struct {
	Payload *iamclientmodels.OauthmodelErrorResponse
}

Verify2FACodeUnauthorized handles this case with default header values.

Unauthorized

func NewVerify2FACodeUnauthorized added in v0.15.0

func NewVerify2FACodeUnauthorized() *Verify2FACodeUnauthorized

NewVerify2FACodeUnauthorized creates a Verify2FACodeUnauthorized with default headers values

func (*Verify2FACodeUnauthorized) Error added in v0.15.0

func (o *Verify2FACodeUnauthorized) Error() string

func (*Verify2FACodeUnauthorized) GetPayload added in v0.15.0

Jump to

Keyboard shortcuts

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