casdoor / casdoor-js-sdk

Javascript client SDK for Casdoor
https://github.com/casdoor/casdoor
Apache License 2.0
30 stars 27 forks source link

feat: general implement #2

Closed Zxilly closed 2 years ago

Zxilly commented 2 years ago

Fix: https://github.com/casdoor/casdoor-js-sdk/issues/1

ref to: https://github.com/casbin/casbin-oa/blob/master/web/src/auth/Auth.js

@hsluoyz @Kininaru plz review

Signed-off-by: Zxilly zhouxinyu1001@gmail.com

hsluoyz commented 2 years ago

@Kininaru @sh1luo plz review

hsluoyz commented 2 years ago

@Zxilly we have updated some API names, see: https://github.com/casbin/casbin-oa/commit/d67a3f5263d9c78441675e59da8c5e0a00b3af71

Plz update this PR.

Zxilly commented 2 years ago

@hsluoyz updated