Documentation
¶
Overview ¶
Package auth ...
Package auth ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Lock sync.Mutex
Lock defines mutex lock to avoid race conditions
Functions ¶
func Auth ¶
func Auth(req *authproto.AuthRequest) (int32, string)
Auth functinality will do the following
- It will check whether the session taken is valid
- fetch the previleges from DB against session token and check the service has the previlege
func CheckSessionCreationCredentials ¶
CheckSessionCreationCredentials defines the auth at the time of session creation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.