Add config for machine driver to bearer auth

This commit is contained in:
Ishank Arora
2021-09-22 16:49:54 +02:00
parent c0d029dee3
commit fd2bf9c825
3 changed files with 31 additions and 1 deletions
+8
View File
@@ -119,6 +119,13 @@ type Users struct {
UserGroupsCacheExpiration int
}
// AuthBearerConfig defines the available configuration for the bearer auth drivers.
type AuthBearerConfig struct {
Port
Driver string
MachineAuthAPIKey string
}
// Groups defines the available groups configuration.
type Groups struct {
Port
@@ -423,6 +430,7 @@ type Reva struct {
Users Users
Groups Groups
AuthProvider Users
AuthBearerConfig AuthBearerConfig
AuthBasic Port
AuthBearer Port
Sharing Sharing