Gay couples who are married in Massachusetts, Canada or other places where same-sex marriage is allowed will have all the rights of married people in New Jersey as of Monday, the state Attorney General’s Office decided Friday.

New Jersey should consider those couples to be in civil unions rather than marriages, Attorney General Stuart Rabner said in the opinion for the state Department of Health and Senior Services, which is responsible for registering civil unions.