Merge branch '16678-login-tokens-lifetime-config'
[arvados.git] / sdk / go / arvados / config.go
index 86673320da3c41fc394fc8381e0221a47fd2e436..d98ffd18ed154c6882eb64c16f3af47bbc8c4b94 100644 (file)
@@ -177,6 +177,10 @@ type Cluster struct {
                        ProviderAppID     string
                        ProviderAppSecret string
                }
+               Test struct {
+                       Enable bool
+                       Users  map[string]TestUser
+               }
                LoginCluster       string
                RemoteTokenRefresh Duration
                TokenLifetime      Duration
@@ -331,6 +335,11 @@ type Service struct {
        ExternalURL  URL
 }
 
+type TestUser struct {
+       Email    string
+       Password string
+}
+
 // URL is a url.URL that is also usable as a JSON key/value.
 type URL url.URL