added ProviderName and ProviderClient fields to core.RecordAuthWithOAuth2Event

This commit is contained in:
Gani Georgiev
2023-03-26 19:32:23 +03:00
parent f024de3cc4
commit 3a5d3d521f
4 changed files with 22 additions and 11 deletions
+6 -4
View File
@@ -205,10 +205,12 @@ type RecordAuthWithPasswordEvent struct {
type RecordAuthWithOAuth2Event struct {
BaseCollectionEvent
HttpContext echo.Context
Record *models.Record
OAuth2User *auth.AuthUser
IsNewRecord bool
HttpContext echo.Context
ProviderName string
ProviderClient auth.Provider
Record *models.Record
OAuth2User *auth.AuthUser
IsNewRecord bool
}
type RecordAuthRefreshEvent struct {