internal

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package internal provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	BasicAuthScopes = "BasicAuth.Scopes"
	OAuth2Scopes    = "OAuth2.Scopes"
)

Variables

This section is empty.

Functions

func NewAddUserDefinedLocalAuthenticatorRequest

func NewAddUserDefinedLocalAuthenticatorRequest(server string, body AddUserDefinedLocalAuthenticatorJSONRequestBody) (*http.Request, error)

NewAddUserDefinedLocalAuthenticatorRequest calls the generic AddUserDefinedLocalAuthenticator builder with application/json body

func NewAddUserDefinedLocalAuthenticatorRequestWithBody

func NewAddUserDefinedLocalAuthenticatorRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAddUserDefinedLocalAuthenticatorRequestWithBody generates requests for AddUserDefinedLocalAuthenticator with any type of body

func NewDeleteUserDefinedLocalAuthenticatorRequest

func NewDeleteUserDefinedLocalAuthenticatorRequest(server string, authenticatorId string) (*http.Request, error)

NewDeleteUserDefinedLocalAuthenticatorRequest generates requests for DeleteUserDefinedLocalAuthenticator

func NewGetAuthenticatorsMetaTagsRequest

func NewGetAuthenticatorsMetaTagsRequest(server string) (*http.Request, error)

NewGetAuthenticatorsMetaTagsRequest generates requests for GetAuthenticatorsMetaTags

func NewGetAuthenticatorsRequest

func NewGetAuthenticatorsRequest(server string, params *GetAuthenticatorsParams) (*http.Request, error)

NewGetAuthenticatorsRequest generates requests for GetAuthenticators

func NewGetConnectedAppsOfLocalAuthenticatorRequest

func NewGetConnectedAppsOfLocalAuthenticatorRequest(server string, authenticatorId string, params *GetConnectedAppsOfLocalAuthenticatorParams) (*http.Request, error)

NewGetConnectedAppsOfLocalAuthenticatorRequest generates requests for GetConnectedAppsOfLocalAuthenticator

func NewUpdateUserDefinedLocalAuthenticatorRequest

func NewUpdateUserDefinedLocalAuthenticatorRequest(server string, authenticatorId string, body UpdateUserDefinedLocalAuthenticatorJSONRequestBody) (*http.Request, error)

NewUpdateUserDefinedLocalAuthenticatorRequest calls the generic UpdateUserDefinedLocalAuthenticator builder with application/json body

func NewUpdateUserDefinedLocalAuthenticatorRequestWithBody

func NewUpdateUserDefinedLocalAuthenticatorRequestWithBody(server string, authenticatorId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateUserDefinedLocalAuthenticatorRequestWithBody generates requests for UpdateUserDefinedLocalAuthenticator with any type of body

Types

type AddUserDefinedLocalAuthenticatorJSONRequestBody

type AddUserDefinedLocalAuthenticatorJSONRequestBody = UserDefinedLocalAuthenticatorCreation

AddUserDefinedLocalAuthenticatorJSONRequestBody defines body for AddUserDefinedLocalAuthenticator for application/json ContentType.

type AddUserDefinedLocalAuthenticatorResponse

type AddUserDefinedLocalAuthenticatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Authenticator
	JSON400      *Error
	JSON500      *Error
}

func ParseAddUserDefinedLocalAuthenticatorResponse

func ParseAddUserDefinedLocalAuthenticatorResponse(rsp *http.Response) (*AddUserDefinedLocalAuthenticatorResponse, error)

ParseAddUserDefinedLocalAuthenticatorResponse parses an HTTP response from a AddUserDefinedLocalAuthenticatorWithResponse call

func (AddUserDefinedLocalAuthenticatorResponse) Status

Status returns HTTPResponse.Status

func (AddUserDefinedLocalAuthenticatorResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AuthenticationType

type AuthenticationType struct {
	Properties map[string]interface{} `json:"properties"`
	Type       AuthenticationTypeType `json:"type"`
}

AuthenticationType defines model for AuthenticationType.

type AuthenticationTypeType

type AuthenticationTypeType string

AuthenticationTypeType defines model for AuthenticationType.Type.

const (
	APIKEY AuthenticationTypeType = "API_KEY"
	BASIC  AuthenticationTypeType = "BASIC"
	BEARER AuthenticationTypeType = "BEARER"
	NONE   AuthenticationTypeType = "NONE"
)

Defines values for AuthenticationTypeType.

type Authenticator

type Authenticator struct {
	DefinedBy   *AuthenticatorDefinedBy `json:"definedBy,omitempty"`
	Description *string                 `json:"description,omitempty"`
	DisplayName *string                 `json:"displayName,omitempty"`
	Id          *string                 `json:"id,omitempty"`
	Image       *string                 `json:"image,omitempty"`
	IsEnabled   *bool                   `json:"isEnabled,omitempty"`
	Name        *string                 `json:"name,omitempty"`
	Self        *string                 `json:"self,omitempty"`
	Tags        *[]string               `json:"tags,omitempty"`
	Type        *AuthenticatorType      `json:"type,omitempty"`
}

Authenticator defines model for Authenticator.

type AuthenticatorDefinedBy

type AuthenticatorDefinedBy string

AuthenticatorDefinedBy defines model for Authenticator.DefinedBy.

const (
	SYSTEM AuthenticatorDefinedBy = "SYSTEM"
	USER   AuthenticatorDefinedBy = "USER"
)

Defines values for AuthenticatorDefinedBy.

type AuthenticatorType

type AuthenticatorType string

AuthenticatorType defines model for Authenticator.Type.

const (
	FEDERATED AuthenticatorType = "FEDERATED"
	LOCAL     AuthenticatorType = "LOCAL"
)

Defines values for AuthenticatorType.

type Authenticators

type Authenticators = []Authenticator

Authenticators defines model for Authenticators.

type BadRequest

type BadRequest = Error

BadRequest defines model for BadRequest.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddUserDefinedLocalAuthenticator

func (c *Client) AddUserDefinedLocalAuthenticator(ctx context.Context, body AddUserDefinedLocalAuthenticatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddUserDefinedLocalAuthenticatorWithBody

func (c *Client) AddUserDefinedLocalAuthenticatorWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUserDefinedLocalAuthenticator

func (c *Client) DeleteUserDefinedLocalAuthenticator(ctx context.Context, authenticatorId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAuthenticators

func (c *Client) GetAuthenticators(ctx context.Context, params *GetAuthenticatorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAuthenticatorsMetaTags

func (c *Client) GetAuthenticatorsMetaTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConnectedAppsOfLocalAuthenticator

func (c *Client) GetConnectedAppsOfLocalAuthenticator(ctx context.Context, authenticatorId string, params *GetConnectedAppsOfLocalAuthenticatorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserDefinedLocalAuthenticator

func (c *Client) UpdateUserDefinedLocalAuthenticator(ctx context.Context, authenticatorId string, body UpdateUserDefinedLocalAuthenticatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateUserDefinedLocalAuthenticatorWithBody

func (c *Client) UpdateUserDefinedLocalAuthenticatorWithBody(ctx context.Context, authenticatorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetAuthenticators request
	GetAuthenticators(ctx context.Context, params *GetAuthenticatorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddUserDefinedLocalAuthenticatorWithBody request with any body
	AddUserDefinedLocalAuthenticatorWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddUserDefinedLocalAuthenticator(ctx context.Context, body AddUserDefinedLocalAuthenticatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUserDefinedLocalAuthenticator request
	DeleteUserDefinedLocalAuthenticator(ctx context.Context, authenticatorId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateUserDefinedLocalAuthenticatorWithBody request with any body
	UpdateUserDefinedLocalAuthenticatorWithBody(ctx context.Context, authenticatorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateUserDefinedLocalAuthenticator(ctx context.Context, authenticatorId string, body UpdateUserDefinedLocalAuthenticatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAuthenticatorsMetaTags request
	GetAuthenticatorsMetaTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConnectedAppsOfLocalAuthenticator request
	GetConnectedAppsOfLocalAuthenticator(ctx context.Context, authenticatorId string, params *GetConnectedAppsOfLocalAuthenticatorParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddUserDefinedLocalAuthenticatorWithBodyWithResponse

func (c *ClientWithResponses) AddUserDefinedLocalAuthenticatorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddUserDefinedLocalAuthenticatorResponse, error)

AddUserDefinedLocalAuthenticatorWithBodyWithResponse request with arbitrary body returning *AddUserDefinedLocalAuthenticatorResponse

func (*ClientWithResponses) DeleteUserDefinedLocalAuthenticatorWithResponse

func (c *ClientWithResponses) DeleteUserDefinedLocalAuthenticatorWithResponse(ctx context.Context, authenticatorId string, reqEditors ...RequestEditorFn) (*DeleteUserDefinedLocalAuthenticatorResponse, error)

DeleteUserDefinedLocalAuthenticatorWithResponse request returning *DeleteUserDefinedLocalAuthenticatorResponse

func (*ClientWithResponses) GetAuthenticatorsMetaTagsWithResponse

func (c *ClientWithResponses) GetAuthenticatorsMetaTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthenticatorsMetaTagsResponse, error)

GetAuthenticatorsMetaTagsWithResponse request returning *GetAuthenticatorsMetaTagsResponse

func (*ClientWithResponses) GetAuthenticatorsWithResponse

func (c *ClientWithResponses) GetAuthenticatorsWithResponse(ctx context.Context, params *GetAuthenticatorsParams, reqEditors ...RequestEditorFn) (*GetAuthenticatorsResponse, error)

GetAuthenticatorsWithResponse request returning *GetAuthenticatorsResponse

func (*ClientWithResponses) GetConnectedAppsOfLocalAuthenticatorWithResponse

func (c *ClientWithResponses) GetConnectedAppsOfLocalAuthenticatorWithResponse(ctx context.Context, authenticatorId string, params *GetConnectedAppsOfLocalAuthenticatorParams, reqEditors ...RequestEditorFn) (*GetConnectedAppsOfLocalAuthenticatorResponse, error)

GetConnectedAppsOfLocalAuthenticatorWithResponse request returning *GetConnectedAppsOfLocalAuthenticatorResponse

func (*ClientWithResponses) UpdateUserDefinedLocalAuthenticatorWithBodyWithResponse

func (c *ClientWithResponses) UpdateUserDefinedLocalAuthenticatorWithBodyWithResponse(ctx context.Context, authenticatorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserDefinedLocalAuthenticatorResponse, error)

UpdateUserDefinedLocalAuthenticatorWithBodyWithResponse request with arbitrary body returning *UpdateUserDefinedLocalAuthenticatorResponse

func (*ClientWithResponses) UpdateUserDefinedLocalAuthenticatorWithResponse

func (c *ClientWithResponses) UpdateUserDefinedLocalAuthenticatorWithResponse(ctx context.Context, authenticatorId string, body UpdateUserDefinedLocalAuthenticatorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserDefinedLocalAuthenticatorResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetAuthenticatorsWithResponse request
	GetAuthenticatorsWithResponse(ctx context.Context, params *GetAuthenticatorsParams, reqEditors ...RequestEditorFn) (*GetAuthenticatorsResponse, error)

	// AddUserDefinedLocalAuthenticatorWithBodyWithResponse request with any body
	AddUserDefinedLocalAuthenticatorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddUserDefinedLocalAuthenticatorResponse, error)

	AddUserDefinedLocalAuthenticatorWithResponse(ctx context.Context, body AddUserDefinedLocalAuthenticatorJSONRequestBody, reqEditors ...RequestEditorFn) (*AddUserDefinedLocalAuthenticatorResponse, error)

	// DeleteUserDefinedLocalAuthenticatorWithResponse request
	DeleteUserDefinedLocalAuthenticatorWithResponse(ctx context.Context, authenticatorId string, reqEditors ...RequestEditorFn) (*DeleteUserDefinedLocalAuthenticatorResponse, error)

	// UpdateUserDefinedLocalAuthenticatorWithBodyWithResponse request with any body
	UpdateUserDefinedLocalAuthenticatorWithBodyWithResponse(ctx context.Context, authenticatorId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserDefinedLocalAuthenticatorResponse, error)

	UpdateUserDefinedLocalAuthenticatorWithResponse(ctx context.Context, authenticatorId string, body UpdateUserDefinedLocalAuthenticatorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserDefinedLocalAuthenticatorResponse, error)

	// GetAuthenticatorsMetaTagsWithResponse request
	GetAuthenticatorsMetaTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthenticatorsMetaTagsResponse, error)

	// GetConnectedAppsOfLocalAuthenticatorWithResponse request
	GetConnectedAppsOfLocalAuthenticatorWithResponse(ctx context.Context, authenticatorId string, params *GetConnectedAppsOfLocalAuthenticatorParams, reqEditors ...RequestEditorFn) (*GetConnectedAppsOfLocalAuthenticatorResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConnectedApp

type ConnectedApp struct {
	AppId *string `json:"appId,omitempty"`
	Self  *string `json:"self,omitempty"`
}

ConnectedApp defines model for ConnectedApp.

type ConnectedApps

type ConnectedApps struct {
	ConnectedApps *[]ConnectedApp `json:"connectedApps,omitempty"`
	Count         *int            `json:"count,omitempty"`
	Links         *[]Link         `json:"links,omitempty"`
	StartIndex    *int            `json:"startIndex,omitempty"`
	TotalResults  *int            `json:"totalResults,omitempty"`
}

ConnectedApps defines model for ConnectedApps.

type DeleteUserDefinedLocalAuthenticatorResponse

type DeleteUserDefinedLocalAuthenticatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *Error
	JSON500      *Error
}

func ParseDeleteUserDefinedLocalAuthenticatorResponse

func ParseDeleteUserDefinedLocalAuthenticatorResponse(rsp *http.Response) (*DeleteUserDefinedLocalAuthenticatorResponse, error)

ParseDeleteUserDefinedLocalAuthenticatorResponse parses an HTTP response from a DeleteUserDefinedLocalAuthenticatorWithResponse call

func (DeleteUserDefinedLocalAuthenticatorResponse) Status

Status returns HTTPResponse.Status

func (DeleteUserDefinedLocalAuthenticatorResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Endpoint

type Endpoint struct {
	Authentication *AuthenticationType `json:"authentication,omitempty"`
	Uri            *string             `json:"uri,omitempty"`
}

Endpoint defines model for Endpoint.

type Error

type Error struct {
	// Code An error code.
	Code string `json:"code"`

	// Description An error description.
	Description *string `json:"description,omitempty"`

	// Message An error message.
	Message string `json:"message"`

	// TraceId An error trace identifier.
	TraceId *string `json:"traceId,omitempty"`
}

Error defines model for Error.

type FilterQueryParam

type FilterQueryParam = string

FilterQueryParam defines model for filterQueryParam.

type GetAuthenticatorsMetaTagsResponse

type GetAuthenticatorsMetaTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Tags
	JSON400      *BadRequest
	JSON404      *NotFound
	JSON500      *ServerError
}

func ParseGetAuthenticatorsMetaTagsResponse

func ParseGetAuthenticatorsMetaTagsResponse(rsp *http.Response) (*GetAuthenticatorsMetaTagsResponse, error)

ParseGetAuthenticatorsMetaTagsResponse parses an HTTP response from a GetAuthenticatorsMetaTagsWithResponse call

func (GetAuthenticatorsMetaTagsResponse) Status

Status returns HTTPResponse.Status

func (GetAuthenticatorsMetaTagsResponse) StatusCode

func (r GetAuthenticatorsMetaTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuthenticatorsParams

type GetAuthenticatorsParams struct {
	// Filter Condition to filter the retrieval of records. Only supports filtering based on the 'tag' and 'name' attribute. For local authenticators and request path authenticators, the 'displayName' is considered as the 'name' attribute during filtering. The 'name' attribute only supports 'eq' and 'sw operations. Filtering with multiple 'name' attributes is not supported. The 'tag' attribute only supports 'eq' operation. Filtering with multiple 'tag' attributes is supported with only 'or' as the complex query operation. E.g. /configs/authenticators?filter=name+sw+fi+and+(tag+eq+2FA+or+tag+eq+MFA)
	Filter *FilterQueryParam `form:"filter,omitempty" json:"filter,omitempty"`

	// Limit Maximum number of records to return. _<b>This option is not yet supported.<b>_
	Limit *LimitQueryParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of records to skip for pagination. _<b>This option is not yet supported.<b>_
	Offset *OffsetQueryParam `form:"offset,omitempty" json:"offset,omitempty"`
}

GetAuthenticatorsParams defines parameters for GetAuthenticators.

type GetAuthenticatorsResponse

type GetAuthenticatorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Authenticators
	JSON400      *BadRequest
	JSON404      *NotFound
	JSON500      *ServerError
	JSON501      *NotImplemented
}

func ParseGetAuthenticatorsResponse

func ParseGetAuthenticatorsResponse(rsp *http.Response) (*GetAuthenticatorsResponse, error)

ParseGetAuthenticatorsResponse parses an HTTP response from a GetAuthenticatorsWithResponse call

func (GetAuthenticatorsResponse) Status

func (r GetAuthenticatorsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAuthenticatorsResponse) StatusCode

func (r GetAuthenticatorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConnectedAppsOfLocalAuthenticatorParams

type GetConnectedAppsOfLocalAuthenticatorParams struct {
	// Limit Maximum number of records to return. _<b>This option is not yet supported.<b>_
	Limit *LimitQueryParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of records to skip for pagination. _<b>This option is not yet supported.<b>_
	Offset *OffsetQueryParam `form:"offset,omitempty" json:"offset,omitempty"`
}

GetConnectedAppsOfLocalAuthenticatorParams defines parameters for GetConnectedAppsOfLocalAuthenticator.

type GetConnectedAppsOfLocalAuthenticatorResponse

type GetConnectedAppsOfLocalAuthenticatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ConnectedApps
	JSON400      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetConnectedAppsOfLocalAuthenticatorResponse

func ParseGetConnectedAppsOfLocalAuthenticatorResponse(rsp *http.Response) (*GetConnectedAppsOfLocalAuthenticatorResponse, error)

ParseGetConnectedAppsOfLocalAuthenticatorResponse parses an HTTP response from a GetConnectedAppsOfLocalAuthenticatorWithResponse call

func (GetConnectedAppsOfLocalAuthenticatorResponse) Status

Status returns HTTPResponse.Status

func (GetConnectedAppsOfLocalAuthenticatorResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type LimitQueryParam

type LimitQueryParam = int32

LimitQueryParam defines model for limitQueryParam.

type Link struct {
	// Href Path to the target resource.
	Href *string `json:"href,omitempty"`

	// Rel Describes how the current context is related to the target resource.
	Rel *string `json:"rel,omitempty"`
}

Link defines model for Link.

type NotFound

type NotFound = Error

NotFound defines model for NotFound.

type NotImplemented

type NotImplemented = Error

NotImplemented defines model for NotImplemented.

type OffsetQueryParam

type OffsetQueryParam = int32

OffsetQueryParam defines model for offsetQueryParam.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ServerError

type ServerError = Error

ServerError defines model for ServerError.

type Tags

type Tags = []string

Tags The list of tags available for authenticators.

type UpdateUserDefinedLocalAuthenticatorJSONRequestBody

type UpdateUserDefinedLocalAuthenticatorJSONRequestBody = UserDefinedLocalAuthenticatorUpdate

UpdateUserDefinedLocalAuthenticatorJSONRequestBody defines body for UpdateUserDefinedLocalAuthenticator for application/json ContentType.

type UpdateUserDefinedLocalAuthenticatorResponse

type UpdateUserDefinedLocalAuthenticatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Authenticator
	JSON400      *Error
	JSON500      *Error
}

func ParseUpdateUserDefinedLocalAuthenticatorResponse

func ParseUpdateUserDefinedLocalAuthenticatorResponse(rsp *http.Response) (*UpdateUserDefinedLocalAuthenticatorResponse, error)

ParseUpdateUserDefinedLocalAuthenticatorResponse parses an HTTP response from a UpdateUserDefinedLocalAuthenticatorWithResponse call

func (UpdateUserDefinedLocalAuthenticatorResponse) Status

Status returns HTTPResponse.Status

func (UpdateUserDefinedLocalAuthenticatorResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserDefinedLocalAuthenticatorCreation

type UserDefinedLocalAuthenticatorCreation struct {
	AuthenticationType *UserDefinedLocalAuthenticatorCreationAuthenticationType `json:"authenticationType,omitempty"`
	Description        *string                                                  `json:"description,omitempty"`
	DisplayName        string                                                   `json:"displayName"`
	Endpoint           Endpoint                                                 `json:"endpoint"`
	Id                 *string                                                  `json:"id,omitempty"`
	Image              *string                                                  `json:"image,omitempty"`
	IsEnabled          bool                                                     `json:"isEnabled"`
	Name               string                                                   `json:"name"`
}

UserDefinedLocalAuthenticatorCreation This represents the configuration for creating the user defined local authenticator.

type UserDefinedLocalAuthenticatorCreationAuthenticationType

type UserDefinedLocalAuthenticatorCreationAuthenticationType string

UserDefinedLocalAuthenticatorCreationAuthenticationType defines model for UserDefinedLocalAuthenticatorCreation.AuthenticationType.

const (
	IDENTIFICATION UserDefinedLocalAuthenticatorCreationAuthenticationType = "IDENTIFICATION"
	VERIFICATION   UserDefinedLocalAuthenticatorCreationAuthenticationType = "VERIFICATION"
)

Defines values for UserDefinedLocalAuthenticatorCreationAuthenticationType.

type UserDefinedLocalAuthenticatorUpdate

type UserDefinedLocalAuthenticatorUpdate struct {
	Description *string  `json:"description,omitempty"`
	DisplayName string   `json:"displayName"`
	Endpoint    Endpoint `json:"endpoint"`
	Image       *string  `json:"image,omitempty"`
	IsEnabled   bool     `json:"isEnabled"`
}

UserDefinedLocalAuthenticatorUpdate TThis represents the configuration for updating user defined local authenticator.

Jump to

Keyboard shortcuts

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