Documentation ¶
Index ¶
- type CallbackConfirmationEndpoint
- type CallbackEndpoint
- type CheckConfirmationEndpoint
- type ConfirmationCallbackService
- type ConfirmationExternalService
- type ConfirmationInternalService
- type ExternalEndpoint
- type FailedConfirmationEndpoint
- type InternalEndpoint
- type PrepareCheckConfirmationEndpoint
- type PrepareOperationEndpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackConfirmationEndpoint ¶
type CallbackConfirmationEndpoint struct {
CallbackEndpoint
}
func CallbackConfirmation ¶
func CallbackConfirmation(s *ConfirmationCallbackService) *CallbackConfirmationEndpoint
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 CheckConfirmation ¶
func CheckConfirmation(s *ConfirmationExternalService) *CheckConfirmationEndpoint
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 FailedConfirmation ¶
func FailedConfirmation(s *ConfirmationExternalService) *FailedConfirmationEndpoint
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 PrepareCheckConfirmation ¶
func PrepareCheckConfirmation(s *ConfirmationExternalService) *PrepareCheckConfirmationEndpoint
func (*PrepareCheckConfirmationEndpoint) HandleRequest ¶
func (e *PrepareCheckConfirmationEndpoint) HandleRequest(request api_server.Request) error
type PrepareOperationEndpoint ¶
type PrepareOperationEndpoint struct {
InternalEndpoint
}
func PrepareOperation ¶
func PrepareOperation(s *ConfirmationInternalService) *PrepareOperationEndpoint
func (*PrepareOperationEndpoint) HandleRequest ¶
func (e *PrepareOperationEndpoint) HandleRequest(request api_server.Request) error
Click to show internal directories.
Click to hide internal directories.