Class UserLogoutSuccessEvent
- Namespace
- Fdyay.IdentityServer.Events
- Assembly
- Fdyay.IdentityServer.Core.dll
A user's session at this server ended.
public class UserLogoutSuccessEvent : Event
- Inheritance
-
UserLogoutSuccessEvent
- Inherited Members
Remarks
Raised on every path that ends one, not only the logout page: a client ending the session at
end_session and a SAML service provider ending it at the single logout endpoint reach the sink the
same way. A host asking when a person's session ended must not get a different answer per protocol.
Constructors
UserLogoutSuccessEvent(string, string?)
A user whose session at this server ended.
public UserLogoutSuccessEvent(string subjectId, string? displayName = null)
Parameters
subjectIdstringWhose session ended.
displayNamestringTheir display name, where the session carried one.
Properties
DisplayName
The user's display name, taken from the session's name claim where it carried one.
public string? DisplayName { get; }
Property Value
SubjectId
Whose session ended.
public string SubjectId { get; }