oauth.go 375 B

1234567891011121314
  1. package config
  2. type GithubOauth struct {
  3. ClientId string `mapstructure:"client-id"`
  4. ClientSecret string `mapstructure:"client-secret"`
  5. RedirectUrl string `mapstructure:"redirect-url"`
  6. }
  7. type GoogleOauth struct {
  8. ClientId string `mapstructure:"client-id"`
  9. ClientSecret string `mapstructure:"client-secret"`
  10. RedirectUrl string `mapstructure:"redirect-url"`
  11. }