You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ILoginService doesn't really do very much now, and mostly delegates to IUserSessionService, so it's a bit confusing as to which you're supposed to use, and at the time not very discoverable.
Instead it should be replaced with queries and commands for authentication, which can be exposed through IAdvancedContentRepository.
This will be a breaking change for anyone using ILoginService.
The text was updated successfully, but these errors were encountered:
- Removed ILoginService (ISignInService)
- Added `IAdvancedContentRepository.Users().Authentication().AuthenticateCredentialsAsync(AuthenticateUserCredentialsQuery)`
- Added `IAdvancedContentRepository.Users().Authentication().SignInWithCredentialsAsync(SignInUserWithCredentialsCommand)`
- Added `IAdvancedContentRepository.Users().Authentication().SignInAuthenticatedUserAsync(SignInAuthenticatedUserCommand)`
- Added `IAdvancedContentRepository.Users().Authentication().SignOutAsync()`
- Added `IAdvancedContentRepository.Users().Authentication().SignOutAllUserAreasAsync()`
- Added IDomainRepository.WithContext<TUserArea>() to allow switching the user context the one associate with that user area.
ILoginService
doesn't really do very much now, and mostly delegates toIUserSessionService
, so it's a bit confusing as to which you're supposed to use, and at the time not very discoverable.Instead it should be replaced with queries and commands for authentication, which can be exposed through
IAdvancedContentRepository
.This will be a breaking change for anyone using
ILoginService
.The text was updated successfully, but these errors were encountered: