ultravioletrs / cocos

Cocos AI - Confidential Computing System for AI
https://ultraviolet.rs/cocos-ai.html
Apache License 2.0
11 stars 6 forks source link

Update Auth layer in Agent #135

Closed dborovcanin closed 5 days ago

dborovcanin commented 1 month ago

Is your feature request related to a problem? Please describe.

As of #128, we are using digital signatures for user authentication. However, the Auth layer is tightly coupled with API and has no interfaces we can use for testing. We should move the implementation to the root and add the corresponding interface. We still should keep interceptors on the API layer, but interceptors should call Auth abstractions rather than holding the full implementation.

Describe the feature you are requesting, as well as the possible use case(s) for it.

Described in the step above.

Indicate the importance of this feature to you.

Must-have

Anything else?

N/A