IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

'UserLoginSuccessEvent' does not contain a constructor that takes 6 arguments

Open haugan opened this issue 7 years ago • 3 comments

Following the steps from https://identityserver4.readthedocs.io/en/latest/quickstarts/3_interactive_login.html it seems that something is broken. Might be me though, but just in case I'm reporting this anyway. Here's the signatures of the UserLoginSuccessEvent constructors:

UserLoginSuccessEvent(string provider, string providerUserId, string subjectId, string name) UserLoginSuccessEvent(string username, string subjectId, string name, bool interactive = true)

Here's how it's being called e.g. in AccountController:115 new UserLoginSuccessEvent(user.Username, user.SubjectId, user.Username, clientId: context?.ClientId)

Visual Studio is complaining that the ClientId property doesn't fit.

haugan avatar Oct 08 '19 11:10 haugan

OK - the event has been changed at some point. We are in the process of re-writing the docs. So this will be fixed at some point.

leastprivilege avatar Oct 09 '19 06:10 leastprivilege

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 10 '20 09:01 stale[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Feb 16 '20 10:02 lock[bot]