UPDATE: Outh2 google
This commit is contained in:
14
pkg/constants/provider.go
Normal file
14
pkg/constants/provider.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package constants
|
||||
|
||||
type ProviderType string
|
||||
|
||||
const (
|
||||
GoogleProvider ProviderType = "google"
|
||||
GithubProvider ProviderType = "github"
|
||||
FacebookProvider ProviderType = "facebook"
|
||||
LocalProvider ProviderType = "local"
|
||||
)
|
||||
|
||||
func (p ProviderType) String() string {
|
||||
return string(p)
|
||||
}
|
||||
Reference in New Issue
Block a user