Refactored and reorganized code

This commit is contained in:
David Allen 2024-02-23 16:06:07 -07:00
parent 86f8784c19
commit fdb0db389c
8 changed files with 384 additions and 127 deletions

View file

@ -1,15 +1,15 @@
package oauth
type Client struct {
Id string
Secret string
Issuer string
Id string `yaml:"id"`
Secret string `yaml:"secret"`
RedirectUris []string `yaml:"redirect_uris"`
}
func NewClient() *Client {
return &Client{
Id: "",
Secret: "",
Issuer: "",
Id: "",
Secret: "",
RedirectUris: []string{""},
}
}