diff options
Diffstat (limited to 'model/oauth.go')
-rw-r--r-- | model/oauth.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/model/oauth.go b/model/oauth.go index 67825dd97..19f3160fc 100644 --- a/model/oauth.go +++ b/model/oauth.go @@ -10,6 +10,13 @@ import ( "unicode/utf8" ) +const ( + OAUTH_ACTION_SIGNUP = "signup" + OAUTH_ACTION_LOGIN = "login" + OAUTH_ACTION_EMAIL_TO_SSO = "email_to_sso" + OAUTH_ACTION_SSO_TO_EMAIL = "sso_to_email" +) + type OAuthApp struct { Id string `json:"id"` CreatorId string `json:"creator_id"` |