Hi Dmitry,
The isInResponseTo output parameter isn't available until after the call to SAMLServiceProvider.ReceiveSSO returns.
However, you can call SAMLServiceProvider.IsSSOCompletionPending(), prior to calling SAMLServiceProvider.ReceiveSSO, to determine whether this is IdP-initiated or SP-initiated SSO.
SAMLServiceProvider.IsSSOCompletionPending() returns true if this is SP-initiated SSO (ie there's been a previous call to SAMLServiceProvider.InitiateSSO). It returns false if this is IdP-initiated SSO.
Regards ComponentSpace Development
|