Hierarchy

  • newExternalAuth
  • 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)

    Parameters

    Returns ExternalAuth

Generated using TypeDoc