NewAuthOrigin instantiates and returns a new blank *AuthOrigin model.
Example usage:
origin := core.NewOrigin(app) origin.SetRecordRef(user.Id) origin.SetCollectionRef(user.Collection().Id) origin.SetFingerprint("...") app.Save(origin) Copy
origin := core.NewOrigin(app) origin.SetRecordRef(user.Id) origin.SetCollectionRef(user.Collection().Id) origin.SetFingerprint("...") app.Save(origin)
Generated using TypeDoc
NewAuthOrigin instantiates and returns a new blank *AuthOrigin model.
Example usage: