mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Auth
This commit is contained in:
1 parent
6b90ac13e8
commit
3fc5991a84
2 files changed
+8
-1
No files matched your search
@@ -459,7 +459,10 @@ namespace Esiur.Security.Authority.Providers
|
||||
.ToArray(), 512);
|
||||
|
||||
_step = -1;
|
||||
return new AuthenticationResult(AuthenticationRuling.Succeeded, null, _initiatorIdentity, _responderIdentity, sessionKey);
|
||||
// From the responder's perspective the authenticated initiator is
|
||||
// the remote identity. Keeping it in LocalIdentity makes a valid
|
||||
// client appear anonymous to server-side permission managers.
|
||||
return new AuthenticationResult(AuthenticationRuling.Succeeded, null, _responderIdentity, _initiatorIdentity, sessionKey);
|
||||
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user