abp icon indicating copy to clipboard operation
abp copied to clipboard

login remove from AuthService in @abp/ng.core

Open ruby0602 opened this issue 6 years ago • 5 comments

error TS2339: Property 'login' does not exist on type 'AuthService'

ruby0602 avatar Nov 17 '20 02:11 ruby0602

  • Your ABP Framework version.
  • Your User Interface type (Angular/MVC/React... etc.) if the issue is related to a specific UI
  • Exception message and stack trace if available (check the logs).
  • Steps needed to reproduce the problem.

maliming avatar Nov 17 '20 03:11 maliming

@maliming abp is 4.0.0-rc.3,ui is angular,code is fine in abp 3.3.1

ruby0602 avatar Nov 17 '20 04:11 ruby0602

You can refer to this PR.

https://github.com/abpframework/abp/pull/6189

maliming avatar Nov 17 '20 04:11 maliming

@maliming but the version of my angular is 11

ruby0602 avatar Nov 17 '20 05:11 ruby0602

@ruby0602 Please refer to this document

Password flow is no longer available with v4.x. That's why login method is removed from AuthService.

bnymncoskuner avatar Nov 17 '20 06:11 bnymncoskuner