SessionEstablished Event
This event is fired when a new session has been established.
Syntax
public event OnSessionEstablishedHandler OnSessionEstablished; public delegate void OnSessionEstablishedHandler(object sender, SamlidpserverSessionEstablishedEventArgs e); public class SamlidpserverSessionEstablishedEventArgs : EventArgs { public long ConnectionID { get; } public string Username { get; } }
Public Event OnSessionEstablished As OnSessionEstablishedHandler Public Delegate Sub OnSessionEstablishedHandler(sender As Object, e As SamlidpserverSessionEstablishedEventArgs) Public Class SamlidpserverSessionEstablishedEventArgs Inherits EventArgs Public ReadOnly Property ConnectionID As Long Public ReadOnly Property Username As String End Class
Remarks
ConnectionID contains the identifier of the new session, Username specifies the client's address and Username.