code: func (ssa *SQLStorageAuthority) NewAuthorizations2(ctx context.Context, req *sapb.AddPendingAuthorizationsRequest) (*sapb.Authorization2IDs, error) {
  	ids := &sapb.Authorization2IDs{}
  	for _, authz := range req.Authz {
  		if *authz.Status != string(core.StatusPending) {
  			return nil, berrors.InternalServerError("authorization must be pending")
  		}
  		am, err := authzPBToModel(authz)
  		if err != nil {
  			return nil, err
  		}
  		err = ssa.dbMap.Insert(am)
  		if err != nil {
  			return nil, err
  		}
  		ids.Ids = append(ids.Ids, am.ID)
  	}
  	return ids, nil
  }
docs: // NewAuthorizations2 adds a set of new style authorizations to the database and returns
  // either the IDs of the authorizations or an error. It will only process corepb.Authorization
  // objects if the V2 field is set. This method is intended to deprecate AddPendingAuthorizations