Documentation
¶
Index ¶
- func Attach() (ret js.Promise[js.String])
- func CompleteCreateRequest(details CreateResponseDetails) (ret js.Promise[js.Void])
- func CompleteGetRequest(details GetResponseDetails) (ret js.Promise[js.Void])
- func CompleteIsUvpaaRequest(details IsUvpaaResponseDetails) (ret js.Promise[js.Void])
- func Detach() (ret js.Promise[js.String])
- func FuncAttach() (fn js.Func[func() js.Promise[js.String]])
- func FuncCompleteCreateRequest() (fn js.Func[func(details CreateResponseDetails) js.Promise[js.Void]])
- func FuncCompleteGetRequest() (fn js.Func[func(details GetResponseDetails) js.Promise[js.Void]])
- func FuncCompleteIsUvpaaRequest() (fn js.Func[func(details IsUvpaaResponseDetails) js.Promise[js.Void]])
- func FuncDetach() (fn js.Func[func() js.Promise[js.String]])
- func FuncHasOnCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)]) bool])
- func FuncHasOnGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)]) bool])
- func FuncHasOnIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)]) bool])
- func FuncHasOnRemoteSessionStateChange() (fn js.Func[func(callback js.Func[func()]) bool])
- func FuncHasOnRequestCanceled() (fn js.Func[func(callback js.Func[func(requestId int32)]) bool])
- func FuncOffCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)])])
- func FuncOffGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)])])
- func FuncOffIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)])])
- func FuncOffRemoteSessionStateChange() (fn js.Func[func(callback js.Func[func()])])
- func FuncOffRequestCanceled() (fn js.Func[func(callback js.Func[func(requestId int32)])])
- func FuncOnCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)])])
- func FuncOnGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)])])
- func FuncOnIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)])])
- func FuncOnRemoteSessionStateChange() (fn js.Func[func(callback js.Func[func()])])
- func FuncOnRequestCanceled() (fn js.Func[func(callback js.Func[func(requestId int32)])])
- func HasFuncAttach() bool
- func HasFuncCompleteCreateRequest() bool
- func HasFuncCompleteGetRequest() bool
- func HasFuncCompleteIsUvpaaRequest() bool
- func HasFuncDetach() bool
- func HasFuncHasOnCreateRequest() bool
- func HasFuncHasOnGetRequest() bool
- func HasFuncHasOnIsUvpaaRequest() bool
- func HasFuncHasOnRemoteSessionStateChange() bool
- func HasFuncHasOnRequestCanceled() bool
- func HasFuncOffCreateRequest() bool
- func HasFuncOffGetRequest() bool
- func HasFuncOffIsUvpaaRequest() bool
- func HasFuncOffRemoteSessionStateChange() bool
- func HasFuncOffRequestCanceled() bool
- func HasFuncOnCreateRequest() bool
- func HasFuncOnGetRequest() bool
- func HasFuncOnIsUvpaaRequest() bool
- func HasFuncOnRemoteSessionStateChange() bool
- func HasFuncOnRequestCanceled() bool
- func HasOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret bool)
- func HasOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret bool)
- func HasOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret bool)
- func HasOnRemoteSessionStateChange(callback js.Func[func()]) (ret bool)
- func HasOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret bool)
- func OffCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void)
- func OffGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void)
- func OffIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void)
- func OffRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void)
- func OffRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void)
- func OnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void)
- func OnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void)
- func OnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void)
- func OnRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void)
- func OnRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void)
- func TryAttach() (ret js.Promise[js.String], exception js.Any, ok bool)
- func TryCompleteCreateRequest(details CreateResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TryCompleteGetRequest(details GetResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TryCompleteIsUvpaaRequest(details IsUvpaaResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TryDetach() (ret js.Promise[js.String], exception js.Any, ok bool)
- func TryHasOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnRemoteSessionStateChange(callback js.Func[func()]) (ret bool, exception js.Any, ok bool)
- func TryHasOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret bool, exception js.Any, ok bool)
- func TryOffCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
- func TryOffRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
- func TryOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void, exception js.Any, ok bool)
- type CreateRequest
- type CreateResponseDetails
- type DOMExceptionDetails
- type ErrorCallback
- type ErrorCallbackFunc
- type GetRequest
- type GetResponseDetails
- type IsUvpaaRequest
- type IsUvpaaResponseDetails
- type OnCreateRequestEventCallback
- type OnCreateRequestEventCallbackFunc
- type OnGetRequestEventCallback
- type OnGetRequestEventCallbackFunc
- type OnIsUvpaaRequestEventCallback
- type OnIsUvpaaRequestEventCallbackFunc
- type OnRemoteSessionStateChangeEventCallback
- type OnRemoteSessionStateChangeEventCallbackFunc
- type OnRequestCanceledEventCallback
- type OnRequestCanceledEventCallbackFunc
- type VoidCallback
- type VoidCallbackFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteCreateRequest ¶
func CompleteCreateRequest(details CreateResponseDetails) (ret js.Promise[js.Void])
CompleteCreateRequest calls the function "WEBEXT.webAuthenticationProxy.completeCreateRequest" directly.
func CompleteGetRequest ¶
func CompleteGetRequest(details GetResponseDetails) (ret js.Promise[js.Void])
CompleteGetRequest calls the function "WEBEXT.webAuthenticationProxy.completeGetRequest" directly.
func CompleteIsUvpaaRequest ¶
func CompleteIsUvpaaRequest(details IsUvpaaResponseDetails) (ret js.Promise[js.Void])
CompleteIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.completeIsUvpaaRequest" directly.
func FuncAttach ¶
FuncAttach returns the function "WEBEXT.webAuthenticationProxy.attach".
func FuncCompleteCreateRequest ¶
func FuncCompleteCreateRequest() (fn js.Func[func(details CreateResponseDetails) js.Promise[js.Void]])
FuncCompleteCreateRequest returns the function "WEBEXT.webAuthenticationProxy.completeCreateRequest".
func FuncCompleteGetRequest ¶
FuncCompleteGetRequest returns the function "WEBEXT.webAuthenticationProxy.completeGetRequest".
func FuncCompleteIsUvpaaRequest ¶
func FuncCompleteIsUvpaaRequest() (fn js.Func[func(details IsUvpaaResponseDetails) js.Promise[js.Void]])
FuncCompleteIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.completeIsUvpaaRequest".
func FuncDetach ¶
FuncDetach returns the function "WEBEXT.webAuthenticationProxy.detach".
func FuncHasOnCreateRequest ¶
func FuncHasOnCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)]) bool])
FuncHasOnCreateRequest returns the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener".
func FuncHasOnGetRequest ¶
FuncHasOnGetRequest returns the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener".
func FuncHasOnIsUvpaaRequest ¶
func FuncHasOnIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)]) bool])
FuncHasOnIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener".
func FuncHasOnRemoteSessionStateChange ¶
FuncHasOnRemoteSessionStateChange returns the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener".
func FuncHasOnRequestCanceled ¶
FuncHasOnRequestCanceled returns the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener".
func FuncOffCreateRequest ¶
func FuncOffCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)])])
FuncOffCreateRequest returns the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener".
func FuncOffGetRequest ¶
func FuncOffGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)])])
FuncOffGetRequest returns the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener".
func FuncOffIsUvpaaRequest ¶
func FuncOffIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)])])
FuncOffIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener".
func FuncOffRemoteSessionStateChange ¶
FuncOffRemoteSessionStateChange returns the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener".
func FuncOffRequestCanceled ¶
FuncOffRequestCanceled returns the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener".
func FuncOnCreateRequest ¶
func FuncOnCreateRequest() (fn js.Func[func(callback js.Func[func(requestInfo *CreateRequest)])])
FuncOnCreateRequest returns the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener".
func FuncOnGetRequest ¶
func FuncOnGetRequest() (fn js.Func[func(callback js.Func[func(requestInfo *GetRequest)])])
FuncOnGetRequest returns the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener".
func FuncOnIsUvpaaRequest ¶
func FuncOnIsUvpaaRequest() (fn js.Func[func(callback js.Func[func(requestInfo *IsUvpaaRequest)])])
FuncOnIsUvpaaRequest returns the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener".
func FuncOnRemoteSessionStateChange ¶
FuncOnRemoteSessionStateChange returns the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener".
func FuncOnRequestCanceled ¶
FuncOnRequestCanceled returns the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener".
func HasFuncAttach ¶
func HasFuncAttach() bool
HasFuncAttach returns true if the function "WEBEXT.webAuthenticationProxy.attach" exists.
func HasFuncCompleteCreateRequest ¶
func HasFuncCompleteCreateRequest() bool
HasFuncCompleteCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.completeCreateRequest" exists.
func HasFuncCompleteGetRequest ¶
func HasFuncCompleteGetRequest() bool
HasFuncCompleteGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.completeGetRequest" exists.
func HasFuncCompleteIsUvpaaRequest ¶
func HasFuncCompleteIsUvpaaRequest() bool
HasFuncCompleteIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.completeIsUvpaaRequest" exists.
func HasFuncDetach ¶
func HasFuncDetach() bool
HasFuncDetach returns true if the function "WEBEXT.webAuthenticationProxy.detach" exists.
func HasFuncHasOnCreateRequest ¶
func HasFuncHasOnCreateRequest() bool
HasFuncHasOnCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener" exists.
func HasFuncHasOnGetRequest ¶
func HasFuncHasOnGetRequest() bool
HasFuncHasOnGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener" exists.
func HasFuncHasOnIsUvpaaRequest ¶
func HasFuncHasOnIsUvpaaRequest() bool
HasFuncHasOnIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener" exists.
func HasFuncHasOnRemoteSessionStateChange ¶
func HasFuncHasOnRemoteSessionStateChange() bool
HasFuncHasOnRemoteSessionStateChange returns true if the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener" exists.
func HasFuncHasOnRequestCanceled ¶
func HasFuncHasOnRequestCanceled() bool
HasFuncHasOnRequestCanceled returns true if the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener" exists.
func HasFuncOffCreateRequest ¶
func HasFuncOffCreateRequest() bool
HasFuncOffCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener" exists.
func HasFuncOffGetRequest ¶
func HasFuncOffGetRequest() bool
HasFuncOffGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener" exists.
func HasFuncOffIsUvpaaRequest ¶
func HasFuncOffIsUvpaaRequest() bool
HasFuncOffIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener" exists.
func HasFuncOffRemoteSessionStateChange ¶
func HasFuncOffRemoteSessionStateChange() bool
HasFuncOffRemoteSessionStateChange returns true if the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener" exists.
func HasFuncOffRequestCanceled ¶
func HasFuncOffRequestCanceled() bool
HasFuncOffRequestCanceled returns true if the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener" exists.
func HasFuncOnCreateRequest ¶
func HasFuncOnCreateRequest() bool
HasFuncOnCreateRequest returns true if the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener" exists.
func HasFuncOnGetRequest ¶
func HasFuncOnGetRequest() bool
HasFuncOnGetRequest returns true if the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener" exists.
func HasFuncOnIsUvpaaRequest ¶
func HasFuncOnIsUvpaaRequest() bool
HasFuncOnIsUvpaaRequest returns true if the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener" exists.
func HasFuncOnRemoteSessionStateChange ¶
func HasFuncOnRemoteSessionStateChange() bool
HasFuncOnRemoteSessionStateChange returns true if the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener" exists.
func HasFuncOnRequestCanceled ¶
func HasFuncOnRequestCanceled() bool
HasFuncOnRequestCanceled returns true if the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener" exists.
func HasOnCreateRequest ¶
func HasOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret bool)
HasOnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener" directly.
func HasOnGetRequest ¶
func HasOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret bool)
HasOnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener" directly.
func HasOnIsUvpaaRequest ¶
func HasOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret bool)
HasOnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener" directly.
func HasOnRemoteSessionStateChange ¶
HasOnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener" directly.
func HasOnRequestCanceled ¶
HasOnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener" directly.
func OffCreateRequest ¶
func OffCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void)
OffCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener" directly.
func OffGetRequest ¶
func OffGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void)
OffGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener" directly.
func OffIsUvpaaRequest ¶
func OffIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void)
OffIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener" directly.
func OffRemoteSessionStateChange ¶
OffRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener" directly.
func OffRequestCanceled ¶
OffRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener" directly.
func OnCreateRequest ¶
func OnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void)
OnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener" directly.
func OnGetRequest ¶
func OnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void)
OnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener" directly.
func OnIsUvpaaRequest ¶
func OnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void)
OnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener" directly.
func OnRemoteSessionStateChange ¶
OnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener" directly.
func OnRequestCanceled ¶
OnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener" directly.
func TryAttach ¶
TryAttach calls the function "WEBEXT.webAuthenticationProxy.attach" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryCompleteCreateRequest ¶
func TryCompleteCreateRequest(details CreateResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)
TryCompleteCreateRequest calls the function "WEBEXT.webAuthenticationProxy.completeCreateRequest" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryCompleteGetRequest ¶
func TryCompleteGetRequest(details GetResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)
TryCompleteGetRequest calls the function "WEBEXT.webAuthenticationProxy.completeGetRequest" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryCompleteIsUvpaaRequest ¶
func TryCompleteIsUvpaaRequest(details IsUvpaaResponseDetails) (ret js.Promise[js.Void], exception js.Any, ok bool)
TryCompleteIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.completeIsUvpaaRequest" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryDetach ¶
TryDetach calls the function "WEBEXT.webAuthenticationProxy.detach" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnCreateRequest ¶
func TryHasOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret bool, exception js.Any, ok bool)
TryHasOnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnGetRequest ¶
func TryHasOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret bool, exception js.Any, ok bool)
TryHasOnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnIsUvpaaRequest ¶
func TryHasOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret bool, exception js.Any, ok bool)
TryHasOnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnRemoteSessionStateChange ¶
func TryHasOnRemoteSessionStateChange(callback js.Func[func()]) (ret bool, exception js.Any, ok bool)
TryHasOnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnRequestCanceled ¶
func TryHasOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret bool, exception js.Any, ok bool)
TryHasOnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffCreateRequest ¶
func TryOffCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void, exception js.Any, ok bool)
TryOffCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffGetRequest ¶
func TryOffGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void, exception js.Any, ok bool)
TryOffGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffIsUvpaaRequest ¶
func TryOffIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void, exception js.Any, ok bool)
TryOffIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffRemoteSessionStateChange ¶
func TryOffRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
TryOffRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffRequestCanceled ¶
func TryOffRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void, exception js.Any, ok bool)
TryOffRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnCreateRequest ¶
func TryOnCreateRequest(callback js.Func[func(requestInfo *CreateRequest)]) (ret js.Void, exception js.Any, ok bool)
TryOnCreateRequest calls the function "WEBEXT.webAuthenticationProxy.onCreateRequest.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnGetRequest ¶
func TryOnGetRequest(callback js.Func[func(requestInfo *GetRequest)]) (ret js.Void, exception js.Any, ok bool)
TryOnGetRequest calls the function "WEBEXT.webAuthenticationProxy.onGetRequest.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnIsUvpaaRequest ¶
func TryOnIsUvpaaRequest(callback js.Func[func(requestInfo *IsUvpaaRequest)]) (ret js.Void, exception js.Any, ok bool)
TryOnIsUvpaaRequest calls the function "WEBEXT.webAuthenticationProxy.onIsUvpaaRequest.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnRemoteSessionStateChange ¶
func TryOnRemoteSessionStateChange(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
TryOnRemoteSessionStateChange calls the function "WEBEXT.webAuthenticationProxy.onRemoteSessionStateChange.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnRequestCanceled ¶
func TryOnRequestCanceled(callback js.Func[func(requestId int32)]) (ret js.Void, exception js.Any, ok bool)
TryOnRequestCanceled calls the function "WEBEXT.webAuthenticationProxy.onRequestCanceled.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
Types ¶
type CreateRequest ¶
type CreateRequest struct {
// RequestId is "CreateRequest.requestId"
//
// Optional
//
// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
RequestId int32
// RequestDetailsJson is "CreateRequest.requestDetailsJson"
//
// Optional
RequestDetailsJson js.String
FFI_USE_RequestId bool // for RequestId.
FFI_USE bool
}
func (*CreateRequest) FreeMembers ¶
func (p *CreateRequest) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (CreateRequest) FromRef ¶
func (p CreateRequest) FromRef(ref js.Ref) CreateRequest
FromRef calls UpdateFrom and returns a CreateRequest with all fields set.
func (CreateRequest) New ¶
func (p CreateRequest) New() js.Ref
New creates a new CreateRequest in the application heap.
func (*CreateRequest) Update ¶
func (p *CreateRequest) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*CreateRequest) UpdateFrom ¶
func (p *CreateRequest) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type CreateResponseDetails ¶
type CreateResponseDetails struct {
// RequestId is "CreateResponseDetails.requestId"
//
// Optional
//
// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
RequestId int32
// Error is "CreateResponseDetails.error"
//
// Optional
//
// NOTE: Error.FFI_USE MUST be set to true to get Error used.
Error DOMExceptionDetails
// ResponseJson is "CreateResponseDetails.responseJson"
//
// Optional
ResponseJson js.String
FFI_USE_RequestId bool // for RequestId.
FFI_USE bool
}
func (*CreateResponseDetails) FreeMembers ¶
func (p *CreateResponseDetails) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (CreateResponseDetails) FromRef ¶
func (p CreateResponseDetails) FromRef(ref js.Ref) CreateResponseDetails
FromRef calls UpdateFrom and returns a CreateResponseDetails with all fields set.
func (CreateResponseDetails) New ¶
func (p CreateResponseDetails) New() js.Ref
New creates a new CreateResponseDetails in the application heap.
func (*CreateResponseDetails) Update ¶
func (p *CreateResponseDetails) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*CreateResponseDetails) UpdateFrom ¶
func (p *CreateResponseDetails) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type DOMExceptionDetails ¶
type DOMExceptionDetails struct {
// Name is "DOMExceptionDetails.name"
//
// Optional
Name js.String
// Message is "DOMExceptionDetails.message"
//
// Optional
Message js.String
FFI_USE bool
}
func (*DOMExceptionDetails) FreeMembers ¶
func (p *DOMExceptionDetails) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (DOMExceptionDetails) FromRef ¶
func (p DOMExceptionDetails) FromRef(ref js.Ref) DOMExceptionDetails
FromRef calls UpdateFrom and returns a DOMExceptionDetails with all fields set.
func (DOMExceptionDetails) New ¶
func (p DOMExceptionDetails) New() js.Ref
New creates a new DOMExceptionDetails in the application heap.
func (*DOMExceptionDetails) Update ¶
func (p *DOMExceptionDetails) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*DOMExceptionDetails) UpdateFrom ¶
func (p *DOMExceptionDetails) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type ErrorCallback ¶
func (*ErrorCallback[T]) DispatchCallback ¶
func (cb *ErrorCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type ErrorCallbackFunc ¶
func (ErrorCallbackFunc) DispatchCallback ¶
func (fn ErrorCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type GetRequest ¶
type GetRequest struct {
// RequestId is "GetRequest.requestId"
//
// Optional
//
// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
RequestId int32
// RequestDetailsJson is "GetRequest.requestDetailsJson"
//
// Optional
RequestDetailsJson js.String
FFI_USE_RequestId bool // for RequestId.
FFI_USE bool
}
func (*GetRequest) FreeMembers ¶
func (p *GetRequest) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (GetRequest) FromRef ¶
func (p GetRequest) FromRef(ref js.Ref) GetRequest
FromRef calls UpdateFrom and returns a GetRequest with all fields set.
func (GetRequest) New ¶
func (p GetRequest) New() js.Ref
New creates a new GetRequest in the application heap.
func (*GetRequest) Update ¶
func (p *GetRequest) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*GetRequest) UpdateFrom ¶
func (p *GetRequest) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type GetResponseDetails ¶
type GetResponseDetails struct {
// RequestId is "GetResponseDetails.requestId"
//
// Optional
//
// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
RequestId int32
// Error is "GetResponseDetails.error"
//
// Optional
//
// NOTE: Error.FFI_USE MUST be set to true to get Error used.
Error DOMExceptionDetails
// ResponseJson is "GetResponseDetails.responseJson"
//
// Optional
ResponseJson js.String
FFI_USE_RequestId bool // for RequestId.
FFI_USE bool
}
func (*GetResponseDetails) FreeMembers ¶
func (p *GetResponseDetails) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (GetResponseDetails) FromRef ¶
func (p GetResponseDetails) FromRef(ref js.Ref) GetResponseDetails
FromRef calls UpdateFrom and returns a GetResponseDetails with all fields set.
func (GetResponseDetails) New ¶
func (p GetResponseDetails) New() js.Ref
New creates a new GetResponseDetails in the application heap.
func (*GetResponseDetails) Update ¶
func (p *GetResponseDetails) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*GetResponseDetails) UpdateFrom ¶
func (p *GetResponseDetails) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type IsUvpaaRequest ¶
type IsUvpaaRequest struct {
// RequestId is "IsUvpaaRequest.requestId"
//
// Optional
//
// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
RequestId int32
FFI_USE_RequestId bool // for RequestId.
FFI_USE bool
}
func (*IsUvpaaRequest) FreeMembers ¶
func (p *IsUvpaaRequest) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (IsUvpaaRequest) FromRef ¶
func (p IsUvpaaRequest) FromRef(ref js.Ref) IsUvpaaRequest
FromRef calls UpdateFrom and returns a IsUvpaaRequest with all fields set.
func (IsUvpaaRequest) New ¶
func (p IsUvpaaRequest) New() js.Ref
New creates a new IsUvpaaRequest in the application heap.
func (*IsUvpaaRequest) Update ¶
func (p *IsUvpaaRequest) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*IsUvpaaRequest) UpdateFrom ¶
func (p *IsUvpaaRequest) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type IsUvpaaResponseDetails ¶
type IsUvpaaResponseDetails struct {
// RequestId is "IsUvpaaResponseDetails.requestId"
//
// Optional
//
// NOTE: FFI_USE_RequestId MUST be set to true to make this field effective.
RequestId int32
// IsUvpaa is "IsUvpaaResponseDetails.isUvpaa"
//
// Optional
//
// NOTE: FFI_USE_IsUvpaa MUST be set to true to make this field effective.
IsUvpaa bool
FFI_USE_RequestId bool // for RequestId.
FFI_USE_IsUvpaa bool // for IsUvpaa.
FFI_USE bool
}
func (*IsUvpaaResponseDetails) FreeMembers ¶
func (p *IsUvpaaResponseDetails) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (IsUvpaaResponseDetails) FromRef ¶
func (p IsUvpaaResponseDetails) FromRef(ref js.Ref) IsUvpaaResponseDetails
FromRef calls UpdateFrom and returns a IsUvpaaResponseDetails with all fields set.
func (IsUvpaaResponseDetails) New ¶
func (p IsUvpaaResponseDetails) New() js.Ref
New creates a new IsUvpaaResponseDetails in the application heap.
func (*IsUvpaaResponseDetails) Update ¶
func (p *IsUvpaaResponseDetails) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*IsUvpaaResponseDetails) UpdateFrom ¶
func (p *IsUvpaaResponseDetails) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type OnCreateRequestEventCallback ¶
type OnCreateRequestEventCallback[T any] struct { Fn func(arg T, this js.Ref, requestInfo *CreateRequest) js.Ref Arg T }
func (*OnCreateRequestEventCallback[T]) DispatchCallback ¶
func (cb *OnCreateRequestEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnCreateRequestEventCallback[T]) Register ¶
func (cb *OnCreateRequestEventCallback[T]) Register() js.Func[func(requestInfo *CreateRequest)]
type OnCreateRequestEventCallbackFunc ¶
type OnCreateRequestEventCallbackFunc func(this js.Ref, requestInfo *CreateRequest) js.Ref
func (OnCreateRequestEventCallbackFunc) DispatchCallback ¶
func (fn OnCreateRequestEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnCreateRequestEventCallbackFunc) Register ¶
func (fn OnCreateRequestEventCallbackFunc) Register() js.Func[func(requestInfo *CreateRequest)]
type OnGetRequestEventCallback ¶
type OnGetRequestEventCallback[T any] struct { Fn func(arg T, this js.Ref, requestInfo *GetRequest) js.Ref Arg T }
func (*OnGetRequestEventCallback[T]) DispatchCallback ¶
func (cb *OnGetRequestEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnGetRequestEventCallback[T]) Register ¶
func (cb *OnGetRequestEventCallback[T]) Register() js.Func[func(requestInfo *GetRequest)]
type OnGetRequestEventCallbackFunc ¶
type OnGetRequestEventCallbackFunc func(this js.Ref, requestInfo *GetRequest) js.Ref
func (OnGetRequestEventCallbackFunc) DispatchCallback ¶
func (fn OnGetRequestEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnGetRequestEventCallbackFunc) Register ¶
func (fn OnGetRequestEventCallbackFunc) Register() js.Func[func(requestInfo *GetRequest)]
type OnIsUvpaaRequestEventCallback ¶
type OnIsUvpaaRequestEventCallback[T any] struct { Fn func(arg T, this js.Ref, requestInfo *IsUvpaaRequest) js.Ref Arg T }
func (*OnIsUvpaaRequestEventCallback[T]) DispatchCallback ¶
func (cb *OnIsUvpaaRequestEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnIsUvpaaRequestEventCallback[T]) Register ¶
func (cb *OnIsUvpaaRequestEventCallback[T]) Register() js.Func[func(requestInfo *IsUvpaaRequest)]
type OnIsUvpaaRequestEventCallbackFunc ¶
type OnIsUvpaaRequestEventCallbackFunc func(this js.Ref, requestInfo *IsUvpaaRequest) js.Ref
func (OnIsUvpaaRequestEventCallbackFunc) DispatchCallback ¶
func (fn OnIsUvpaaRequestEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnIsUvpaaRequestEventCallbackFunc) Register ¶
func (fn OnIsUvpaaRequestEventCallbackFunc) Register() js.Func[func(requestInfo *IsUvpaaRequest)]
type OnRemoteSessionStateChangeEventCallback ¶
type OnRemoteSessionStateChangeEventCallback[T any] struct { Fn func(arg T, this js.Ref) js.Ref Arg T }
func (*OnRemoteSessionStateChangeEventCallback[T]) DispatchCallback ¶
func (cb *OnRemoteSessionStateChangeEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnRemoteSessionStateChangeEventCallback[T]) Register ¶
func (cb *OnRemoteSessionStateChangeEventCallback[T]) Register() js.Func[func()]
type OnRemoteSessionStateChangeEventCallbackFunc ¶
func (OnRemoteSessionStateChangeEventCallbackFunc) DispatchCallback ¶
func (fn OnRemoteSessionStateChangeEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnRemoteSessionStateChangeEventCallbackFunc) Register ¶
func (fn OnRemoteSessionStateChangeEventCallbackFunc) Register() js.Func[func()]
type OnRequestCanceledEventCallback ¶
type OnRequestCanceledEventCallback[T any] struct { Fn func(arg T, this js.Ref, requestId int32) js.Ref Arg T }
func (*OnRequestCanceledEventCallback[T]) DispatchCallback ¶
func (cb *OnRequestCanceledEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnRequestCanceledEventCallbackFunc ¶
func (OnRequestCanceledEventCallbackFunc) DispatchCallback ¶
func (fn OnRequestCanceledEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type VoidCallback ¶
func (*VoidCallback[T]) DispatchCallback ¶
func (cb *VoidCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*VoidCallback[T]) Register ¶
func (cb *VoidCallback[T]) Register() js.Func[func()]
type VoidCallbackFunc ¶
func (VoidCallbackFunc) DispatchCallback ¶
func (fn VoidCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (VoidCallbackFunc) Register ¶
func (fn VoidCallbackFunc) Register() js.Func[func()]