Class SamlSignOnSuccessEvent
- Namespace
- Fdyay.IdentityServer.Events
- Assembly
- Fdyay.IdentityServer.Core.dll
An assertion was issued to a service provider.
public class SamlSignOnSuccessEvent : Event
- Inheritance
-
SamlSignOnSuccessEvent
- Inherited Members
Remarks
The SAML counterpart of TokenIssuedSuccessEvent, and it is the same act: this server vouching for a user's identity to a third party. It is recorded for the same reason — the record of who this server said somebody was, and to whom, is the one an auditor asks for first.
The assertion itself is absent, exactly as the token is absent from its OIDC counterpart: a signed assertion in a host's log store is a credential, and every question this event answers is answerable without it.
Constructors
SamlSignOnSuccessEvent(string, string, string, string?)
An assertion issued to a service provider.
public SamlSignOnSuccessEvent(string subjectId, string serviceProviderEntityId, string assertionConsumerServiceUrl, string? inResponseTo)
Parameters
subjectIdstringThe user the assertion vouches for, as the value of its
NameID.serviceProviderEntityIdstringThe service provider the assertion names as its audience.
assertionConsumerServiceUrlstringWhere the assertion was posted.
inResponseTostringThe id of the request this answers, or null for an unsolicited (identity provider-initiated) sign-on.
Properties
AssertionConsumerServiceUrl
Where the assertion was posted. Recorded because a registration can be changed.
public string AssertionConsumerServiceUrl { get; }
Property Value
InResponseTo
The id of the request this answers, so the two halves can be joined in a log store.
public string? InResponseTo { get; }
Property Value
ServiceProviderEntityId
The service provider the assertion names as its audience.
public string ServiceProviderEntityId { get; }
Property Value
SubjectId
The user the assertion vouches for, as the value of its NameID.
public string SubjectId { get; }