mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 20:55:42 +00:00
feat: create oauth broker service
This commit is contained in:
@@ -49,10 +49,6 @@ func (google *GoogleOAuthService) Init() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (google *GoogleOAuthService) Name() string {
|
||||
return "google"
|
||||
}
|
||||
|
||||
func (oauth *GoogleOAuthService) GenerateState() string {
|
||||
b := make([]byte, 128)
|
||||
rand.Read(b)
|
||||
|
||||
Reference in New Issue
Block a user