Share via


AllJoynBusAttachment.AuthenticationComplete Event

Definition

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Occurs when verification of supplied credentials is complete.

// Register
event_token AuthenticationComplete(TypedEventHandler<AllJoynBusAttachment, AllJoynAuthenticationCompleteEventArgs const&> const& handler) const;

// Revoke with event_token
void AuthenticationComplete(event_token const* cookie) const;

// Revoke with event_revoker
AllJoynBusAttachment::AuthenticationComplete_revoker AuthenticationComplete(auto_revoke_t, TypedEventHandler<AllJoynBusAttachment, AllJoynAuthenticationCompleteEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
// Register
event_token AuthenticationComplete(TypedEventHandler<AllJoynBusAttachment, AllJoynAuthenticationCompleteEventArgs const&> const& handler) const;

// Revoke with event_token
void AuthenticationComplete(event_token const* cookie) const;

// Revoke with event_revoker
AllJoynBusAttachment::AuthenticationComplete_revoker AuthenticationComplete(auto_revoke_t, TypedEventHandler<AllJoynBusAttachment, AllJoynAuthenticationCompleteEventArgs const&> const& handler) const;
public event TypedEventHandler<AllJoynBusAttachment,AllJoynAuthenticationCompleteEventArgs> AuthenticationComplete;
[add: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<AllJoynBusAttachment,AllJoynAuthenticationCompleteEventArgs> AuthenticationComplete;
function onAuthenticationComplete(eventArgs) { /* Your code */ }
allJoynBusAttachment.addEventListener("authenticationcomplete", onAuthenticationComplete);
allJoynBusAttachment.removeEventListener("authenticationcomplete", onAuthenticationComplete);
- or -
allJoynBusAttachment.onauthenticationcomplete = onAuthenticationComplete;
Public Custom Event AuthenticationComplete As TypedEventHandler(Of AllJoynBusAttachment, AllJoynAuthenticationCompleteEventArgs) 

Event Type

Attributes

Windows requirements

App capabilities
allJoyn

Applies to