mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
```bash for file in `cat diffys`; do printf '%s\n%s\n' "// Copyright 2021 Molecula Corp. All rights reserved." "$(cat $file)" >$file; done ```
25 lines
532 B
Go
25 lines
532 B
Go
// Copyright 2021 Molecula Corp. All rights reserved.
|
|
package auth
|
|
|
|
type Auth struct {
|
|
// Enable AuthZ/AuthN for featurebase server
|
|
Enable bool `toml:"enable"`
|
|
|
|
// Application/Client ID
|
|
ClientId string `toml:"client-id"`
|
|
|
|
// Client Secret
|
|
ClientSecret string `toml:"client-secret"`
|
|
|
|
// Authorize URL
|
|
AuthorizeURL string `toml:"authorize-url"`
|
|
|
|
// Token URL
|
|
TokenURL string `toml:"token-url"`
|
|
|
|
// Group Endpoint URL
|
|
GroupEndpointURL string `toml:"group-endpoint-url"`
|
|
|
|
// Scope URL
|
|
ScopeURL string `toml:"scope-url"`
|
|
}
|