mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 07:08:45 +05:00
Add APIKey authentification
This commit is contained in:
committed by
Dan Christian Bogos
parent
3543d10e9c
commit
ebc419771d
@@ -838,3 +838,8 @@ func APIerRPCCall(inst interface{}, serviceMethod string, args interface{}, repl
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
type AuthStruct struct {
|
||||
Tenant string
|
||||
ApiKey string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user