confirmation_api_service

package
v0.0.0-...-8122643 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackConfirmationEndpoint

type CallbackConfirmationEndpoint struct {
	CallbackEndpoint
}

func (*CallbackConfirmationEndpoint) HandleRequest

func (e *CallbackConfirmationEndpoint) HandleRequest(request api_server.Request) error

type CallbackEndpoint

type CallbackEndpoint struct {
	api_server.EndpointBase
	// contains filtered or unexported fields
}

func (*CallbackEndpoint) Construct

func (e *CallbackEndpoint) Construct(service *ConfirmationCallbackService, op api.Operation)

type CheckConfirmationEndpoint

type CheckConfirmationEndpoint struct {
	ExternalEndpoint
}

func (*CheckConfirmationEndpoint) HandleRequest

func (e *CheckConfirmationEndpoint) HandleRequest(request api_server.Request) error

func (*CheckConfirmationEndpoint) PrecheckRequestBeforeAuth

func (e *CheckConfirmationEndpoint) PrecheckRequestBeforeAuth(request api_server.Request, smsMessage *string, skipSms *bool) error

type ConfirmationCallbackService

type ConfirmationCallbackService struct {
	api_server.ServiceBase
	CallbackResource            api.Resource
	ConfirmationCallbackHandler confirmation_control.ConfirmationCallbackHandler
}

func NewConfirmationCallbackService

func NewConfirmationCallbackService(confirmationCallbackHandler confirmation_control.ConfirmationCallbackHandler) *ConfirmationCallbackService

type ConfirmationExternalService

type ConfirmationExternalService struct {
	api_server.ServiceBase
	ConfirmationCallbackHandler confirmation_control.ConfirmationCallbackHandler

	OperationResource api.Resource
	FailedResource    api.Resource

	CheckCode bool
}

func NewConfirmationExternalService

func NewConfirmationExternalService(confirmationCallbackHandler confirmation_control.ConfirmationCallbackHandler, checkCode bool) *ConfirmationExternalService

type ConfirmationInternalService

type ConfirmationInternalService struct {
	api_server.ServiceBase
	OperationResource api.Resource
	BaseUrl           string
	TokenTtl          int
}

func NewConfirmationInternalService

func NewConfirmationInternalService(baseUrl string, tokenTtl int) *ConfirmationInternalService

type ExternalEndpoint

type ExternalEndpoint struct {
	api_server.EndpointBase
	// contains filtered or unexported fields
}

func (*ExternalEndpoint) Construct

func (e *ExternalEndpoint) Construct(service *ConfirmationExternalService, op api.Operation)

type FailedConfirmationEndpoint

type FailedConfirmationEndpoint struct {
	ExternalEndpoint
}

func (*FailedConfirmationEndpoint) HandleRequest

func (e *FailedConfirmationEndpoint) HandleRequest(request api_server.Request) error

type InternalEndpoint

type InternalEndpoint struct {
	api_server.EndpointBase
	// contains filtered or unexported fields
}

func (*InternalEndpoint) Construct

func (e *InternalEndpoint) Construct(service *ConfirmationInternalService, op api.Operation)

type PrepareCheckConfirmationEndpoint

type PrepareCheckConfirmationEndpoint struct {
	ExternalEndpoint
}

func (*PrepareCheckConfirmationEndpoint) HandleRequest

func (e *PrepareCheckConfirmationEndpoint) HandleRequest(request api_server.Request) error

type PrepareOperationEndpoint

type PrepareOperationEndpoint struct {
	InternalEndpoint
}

func (*PrepareOperationEndpoint) HandleRequest

func (e *PrepareOperationEndpoint) HandleRequest(request api_server.Request) error

Jump to

Keyboard shortcuts

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