login_allowlist

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetLoginAllowlistV3Forbidden

type AdminGetLoginAllowlistV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetLoginAllowlistV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminGetLoginAllowlistV3Forbidden

func NewAdminGetLoginAllowlistV3Forbidden() *AdminGetLoginAllowlistV3Forbidden

NewAdminGetLoginAllowlistV3Forbidden creates a AdminGetLoginAllowlistV3Forbidden with default headers values

func (*AdminGetLoginAllowlistV3Forbidden) Error

func (*AdminGetLoginAllowlistV3Forbidden) GetPayload

func (*AdminGetLoginAllowlistV3Forbidden) ToJSONString

func (o *AdminGetLoginAllowlistV3Forbidden) ToJSONString() string

type AdminGetLoginAllowlistV3InternalServerError

type AdminGetLoginAllowlistV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetLoginAllowlistV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetLoginAllowlistV3InternalServerError

func NewAdminGetLoginAllowlistV3InternalServerError() *AdminGetLoginAllowlistV3InternalServerError

NewAdminGetLoginAllowlistV3InternalServerError creates a AdminGetLoginAllowlistV3InternalServerError with default headers values

func (*AdminGetLoginAllowlistV3InternalServerError) Error

func (*AdminGetLoginAllowlistV3InternalServerError) GetPayload

func (*AdminGetLoginAllowlistV3InternalServerError) ToJSONString

type AdminGetLoginAllowlistV3OK

type AdminGetLoginAllowlistV3OK struct {
	Payload *iamclientmodels.ModelLoginAllowlistResponse
}

AdminGetLoginAllowlistV3OK handles this case with default header values.

Operation succeeded

func NewAdminGetLoginAllowlistV3OK

func NewAdminGetLoginAllowlistV3OK() *AdminGetLoginAllowlistV3OK

NewAdminGetLoginAllowlistV3OK creates a AdminGetLoginAllowlistV3OK with default headers values

func (*AdminGetLoginAllowlistV3OK) Error

func (*AdminGetLoginAllowlistV3OK) GetPayload

func (*AdminGetLoginAllowlistV3OK) ToJSONString

func (o *AdminGetLoginAllowlistV3OK) ToJSONString() string

type AdminGetLoginAllowlistV3Params

type AdminGetLoginAllowlistV3Params struct {

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

	*/
	Namespace string

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

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

AdminGetLoginAllowlistV3Params contains all the parameters to send to the API endpoint for the admin get login allowlist v3 operation typically these are written to a http.Request

func NewAdminGetLoginAllowlistV3Params

func NewAdminGetLoginAllowlistV3Params() *AdminGetLoginAllowlistV3Params

NewAdminGetLoginAllowlistV3Params creates a new AdminGetLoginAllowlistV3Params object with the default values initialized.

func NewAdminGetLoginAllowlistV3ParamsWithContext

func NewAdminGetLoginAllowlistV3ParamsWithContext(ctx context.Context) *AdminGetLoginAllowlistV3Params

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

func NewAdminGetLoginAllowlistV3ParamsWithHTTPClient

func NewAdminGetLoginAllowlistV3ParamsWithHTTPClient(client *http.Client) *AdminGetLoginAllowlistV3Params

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

func NewAdminGetLoginAllowlistV3ParamsWithTimeout

func NewAdminGetLoginAllowlistV3ParamsWithTimeout(timeout time.Duration) *AdminGetLoginAllowlistV3Params

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

func (*AdminGetLoginAllowlistV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) SetContext

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

SetContext adds the context to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) SetFlightId

func (o *AdminGetLoginAllowlistV3Params) SetFlightId(flightId string)

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

func (*AdminGetLoginAllowlistV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) SetNamespace

func (o *AdminGetLoginAllowlistV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) WithContext

WithContext adds the context to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) WithNamespace

WithNamespace adds the namespace to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) WithTimeout

WithTimeout adds the timeout to the admin get login allowlist v3 params

func (*AdminGetLoginAllowlistV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetLoginAllowlistV3Reader

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

AdminGetLoginAllowlistV3Reader is a Reader for the AdminGetLoginAllowlistV3 structure.

func (*AdminGetLoginAllowlistV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetLoginAllowlistV3Unauthorized

type AdminGetLoginAllowlistV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetLoginAllowlistV3Unauthorized 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 NewAdminGetLoginAllowlistV3Unauthorized

func NewAdminGetLoginAllowlistV3Unauthorized() *AdminGetLoginAllowlistV3Unauthorized

NewAdminGetLoginAllowlistV3Unauthorized creates a AdminGetLoginAllowlistV3Unauthorized with default headers values

func (*AdminGetLoginAllowlistV3Unauthorized) Error

func (*AdminGetLoginAllowlistV3Unauthorized) GetPayload

func (*AdminGetLoginAllowlistV3Unauthorized) ToJSONString

func (o *AdminGetLoginAllowlistV3Unauthorized) ToJSONString() string

type AdminUpdateLoginAllowlistV3BadRequest

type AdminUpdateLoginAllowlistV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateLoginAllowlistV3BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>10240</td><td>namespace is not game namespace</td></tr><tr><td>10470</td><td>role is empty</td></tr></table>

func NewAdminUpdateLoginAllowlistV3BadRequest

func NewAdminUpdateLoginAllowlistV3BadRequest() *AdminUpdateLoginAllowlistV3BadRequest

NewAdminUpdateLoginAllowlistV3BadRequest creates a AdminUpdateLoginAllowlistV3BadRequest with default headers values

func (*AdminUpdateLoginAllowlistV3BadRequest) Error

func (*AdminUpdateLoginAllowlistV3BadRequest) GetPayload

func (*AdminUpdateLoginAllowlistV3BadRequest) ToJSONString

type AdminUpdateLoginAllowlistV3Forbidden

type AdminUpdateLoginAllowlistV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateLoginAllowlistV3Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>

func NewAdminUpdateLoginAllowlistV3Forbidden

func NewAdminUpdateLoginAllowlistV3Forbidden() *AdminUpdateLoginAllowlistV3Forbidden

NewAdminUpdateLoginAllowlistV3Forbidden creates a AdminUpdateLoginAllowlistV3Forbidden with default headers values

func (*AdminUpdateLoginAllowlistV3Forbidden) Error

func (*AdminUpdateLoginAllowlistV3Forbidden) GetPayload

func (*AdminUpdateLoginAllowlistV3Forbidden) ToJSONString

func (o *AdminUpdateLoginAllowlistV3Forbidden) ToJSONString() string

type AdminUpdateLoginAllowlistV3InternalServerError

type AdminUpdateLoginAllowlistV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateLoginAllowlistV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminUpdateLoginAllowlistV3InternalServerError

func NewAdminUpdateLoginAllowlistV3InternalServerError() *AdminUpdateLoginAllowlistV3InternalServerError

NewAdminUpdateLoginAllowlistV3InternalServerError creates a AdminUpdateLoginAllowlistV3InternalServerError with default headers values

func (*AdminUpdateLoginAllowlistV3InternalServerError) Error

func (*AdminUpdateLoginAllowlistV3InternalServerError) GetPayload

func (*AdminUpdateLoginAllowlistV3InternalServerError) ToJSONString

type AdminUpdateLoginAllowlistV3NoContent

type AdminUpdateLoginAllowlistV3NoContent struct {
}

AdminUpdateLoginAllowlistV3NoContent handles this case with default header values.

Operation succeeded

func NewAdminUpdateLoginAllowlistV3NoContent

func NewAdminUpdateLoginAllowlistV3NoContent() *AdminUpdateLoginAllowlistV3NoContent

NewAdminUpdateLoginAllowlistV3NoContent creates a AdminUpdateLoginAllowlistV3NoContent with default headers values

func (*AdminUpdateLoginAllowlistV3NoContent) Error

type AdminUpdateLoginAllowlistV3Params

type AdminUpdateLoginAllowlistV3Params struct {

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

	*/
	Namespace string

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

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

AdminUpdateLoginAllowlistV3Params contains all the parameters to send to the API endpoint for the admin update login allowlist v3 operation typically these are written to a http.Request

func NewAdminUpdateLoginAllowlistV3Params

func NewAdminUpdateLoginAllowlistV3Params() *AdminUpdateLoginAllowlistV3Params

NewAdminUpdateLoginAllowlistV3Params creates a new AdminUpdateLoginAllowlistV3Params object with the default values initialized.

func NewAdminUpdateLoginAllowlistV3ParamsWithContext

func NewAdminUpdateLoginAllowlistV3ParamsWithContext(ctx context.Context) *AdminUpdateLoginAllowlistV3Params

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

func NewAdminUpdateLoginAllowlistV3ParamsWithHTTPClient

func NewAdminUpdateLoginAllowlistV3ParamsWithHTTPClient(client *http.Client) *AdminUpdateLoginAllowlistV3Params

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

func NewAdminUpdateLoginAllowlistV3ParamsWithTimeout

func NewAdminUpdateLoginAllowlistV3ParamsWithTimeout(timeout time.Duration) *AdminUpdateLoginAllowlistV3Params

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

func (*AdminUpdateLoginAllowlistV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) SetBody

SetBody adds the body to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) SetContext

SetContext adds the context to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) SetFlightId

func (o *AdminUpdateLoginAllowlistV3Params) SetFlightId(flightId string)

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

func (*AdminUpdateLoginAllowlistV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) SetNamespace

func (o *AdminUpdateLoginAllowlistV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) WithBody

WithBody adds the body to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) WithContext

WithContext adds the context to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) WithNamespace

WithNamespace adds the namespace to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) WithTimeout

WithTimeout adds the timeout to the admin update login allowlist v3 params

func (*AdminUpdateLoginAllowlistV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateLoginAllowlistV3Reader

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

AdminUpdateLoginAllowlistV3Reader is a Reader for the AdminUpdateLoginAllowlistV3 structure.

func (*AdminUpdateLoginAllowlistV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateLoginAllowlistV3Response

type AdminUpdateLoginAllowlistV3Response struct {
	iamclientmodels.ApiResponse

	Error400 *iamclientmodels.RestErrorResponse
	Error401 *iamclientmodels.RestErrorResponse
	Error403 *iamclientmodels.RestErrorResponse
	Error500 *iamclientmodels.RestErrorResponse
}

func (*AdminUpdateLoginAllowlistV3Response) Unpack

type AdminUpdateLoginAllowlistV3Unauthorized

type AdminUpdateLoginAllowlistV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateLoginAllowlistV3Unauthorized 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 NewAdminUpdateLoginAllowlistV3Unauthorized

func NewAdminUpdateLoginAllowlistV3Unauthorized() *AdminUpdateLoginAllowlistV3Unauthorized

NewAdminUpdateLoginAllowlistV3Unauthorized creates a AdminUpdateLoginAllowlistV3Unauthorized with default headers values

func (*AdminUpdateLoginAllowlistV3Unauthorized) Error

func (*AdminUpdateLoginAllowlistV3Unauthorized) GetPayload

func (*AdminUpdateLoginAllowlistV3Unauthorized) ToJSONString

type Client

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

Client for login allowlist API

func (*Client) AdminGetLoginAllowlistV3Short

func (a *Client) AdminGetLoginAllowlistV3Short(params *AdminGetLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetLoginAllowlistV3Response, error)

AdminGetLoginAllowlistV3Short admin get login allowlist This endpoint return login allowlist configuration from specific namespace.

func (*Client) AdminUpdateLoginAllowlistV3Short

func (a *Client) AdminUpdateLoginAllowlistV3Short(params *AdminUpdateLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateLoginAllowlistV3Response, error)

AdminUpdateLoginAllowlistV3Short admin update login allowlist This endpoint update login allowlist configuration from specific game namespace. roleIds: are list of role that allowed to login Note: only accept game namespace

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetLoginAllowlistV3Short(params *AdminGetLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetLoginAllowlistV3Response, error)
	AdminUpdateLoginAllowlistV3Short(params *AdminUpdateLoginAllowlistV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateLoginAllowlistV3Response, 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 login allowlist API client.

Jump to

Keyboard shortcuts

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