added ProviderName and ProviderClient fields to core.RecordAuthWithOAuth2Event

This commit is contained in:
Gani Georgiev committed 2023-03-26 19:32:23 +03:00
1 parent f024de3cc4
commit 3a5d3d521f
4 files changed
+22 -11

No files matched your search

+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 {