id-sdk
v2.0.10
Published
Tamidi ID SDK
Downloads
35
Readme
Change Log
2.0.10:
- allow rbac cache reset redis data
- fix rbac cache resolver cache issue
- update dto
- remove Rbac init
- interface config in rbac cache resolver
- remove socket
- apply double layers cache: memory + redis
- refactor logging
1.5.28:
- update dto
- add setRbacCache function
- update dto
- fix expiration not reloaded issue with cache
- fix createTfaAccessToken
- add token data resolver when create access token
- fix RbacRoleResponse
- fix init sdk with auth support data
- authorize unauthenticated role permissions for other roles
- init with auth support data
- fix StorageProvider
- fix ServicePrincipal introduce backed the serviceEnvId
- fix rbac cache resolver
- update packages
- fix rbac DTOs
- fix missing exports
- refactor rbac cache resolver
- remove @clairejs/server dependency & logic
- refactor new role cache & sdk init flow
1.4.16:
- handleRbacMessages in array
- fix update new auth info & verify new auth info
- fix RbacRequestAuthorizer optional env id & service id resolvers
- add serviceId in init messages
- add envId in init messages
- remove envid & service id config in sdk init
- fix empty response check
- fix sdk secret malformed in http client
- change sdk init
- add log, fix assert
- fix error & assertion
- fix some DTOs
- add auth & user APIs
1.3.1:
- export config inside sdk
- remove webpack, export as es module
1.2.11:
- update packages
- move ioredis to peer dependencies
- update claire core, claire server, add LogContext
- fix get access token from refresh token
- fix & remove authSupportData from KeyChain
- fix handling of rbac messages
- lowercase file names
- unify rbac message handling logic
- process returned messages from /sdk/rbac init request
- add RbacChannels to dto
- add Auth support cache in AbstractRbacCacheResolver
- update claire core to have CachedDataContainer args generic
- remove IRbacCacheResolver and simplify the abstract interfaces
- use injection for Auth, Rbac, KeyChain
- fix createToken
- return principalId in create session
- add jwt key config, not using tamidi key to sign jwt anymore, this is good
1.1.4:
- fix build config
- update claire core
- upgrade claire server
- refactor AbstractRbacCacheResolver
1.0.19:
- add create tfa session
- add setup opt requests
- add ban/unban requests
- update packages
- fix Auth to return correct token error
- fix claire client
- update packages
- remove config of project env key
- fix CreateSessionResponse access token is required
- fix AccessTokenPayload
- add verify user otp and reset password methods
- fix AuthMethod enum
- fix remove authInfoId in principal
- simplify SocketRbacCacheResolver
- cache roles of principal when create session & create user
- rename principal cache to role cache
- change string[] to RoleCache (same as RbacCache)
- fix some export issues
- basic sdk functionality