NewExternalAuth instantiates and returns a new blank *ExternalAuth model.
Example usage:
ea := core.NewExternalAuth(app) ea.SetRecordRef(user.Id) ea.SetCollectionRef(user.Collection().Id) ea.SetProvider("google") ea.SetProviderId("...") app.Save(ea) Copy
ea := core.NewExternalAuth(app) ea.SetRecordRef(user.Id) ea.SetCollectionRef(user.Collection().Id) ea.SetProvider("google") ea.SetProviderId("...") app.Save(ea)
Generated using TypeDoc
NewExternalAuth instantiates and returns a new blank *ExternalAuth model.
Example usage: